A developer is developing a reusable Aura component that will reside on an sObject Lightning page with the following HTML snippet:
HTML
<aura:component implements="force:hasRecordId,flexipage:availableForAllPageTypes">
</aura:component>
How can the component's controller get the context of the Lightning page that the sObject is on without requiring additional test coverage?
Submit