public function SalesforceMappedObjectAddLocalAction::getTitle in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping_ui/src/Plugin/Menu/LocalAction/SalesforceMappedObjectAddLocalAction.php \Drupal\salesforce_mapping_ui\Plugin\Menu\LocalAction\SalesforceMappedObjectAddLocalAction::getTitle()
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_ui/ src/ Plugin/ Menu/ LocalAction/ SalesforceMappedObjectAddLocalAction.php, line 18
Class
- SalesforceMappedObjectAddLocalAction
- Local action for salesforce mapped objects.
Namespace
Drupal\salesforce_mapping_ui\Plugin\Menu\LocalActionCode
public function getTitle(Request $request = NULL) {
// @TODO unclear how to translate this, but needs to be translated:
return 'Create Mapped Object';
}