public function SalesforceMappedObjectAddLocalAction::getTitle in Salesforce Suite 8.3
Returns the localized title to be shown for this action.
Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver.
Return value
string The title to be shown for this action.
Overrides LocalActionDefault::getTitle
See also
\Drupal\Core\Menu\LocalActionManager::getTitle()
File
- modules/
salesforce_mapping/ src/ Plugin/ Menu/ LocalAction/ SalesforceMappedObjectAddLocalAction.php, line 18
Class
- SalesforceMappedObjectAddLocalAction
- Local action for salesforce mapped objects.
Namespace
Drupal\salesforce_mapping\Plugin\Menu\LocalActionCode
public function getTitle(Request $request = NULL) {
// @TODO unclear how to translate this, but needs to be translated:
return 'Create Mapped Object';
}