public function EckContentController::addPageTitle in Entity Construction Kit (ECK) 8
Title callback for add page.
Parameters
\Drupal\eck\EckEntityTypeInterface $eck_entity_type: The entity type.
Return value
string The title.
1 string reference to 'EckContentController::addPageTitle'
File
- src/
Controller/ EckContentController.php, line 111
Class
- EckContentController
- Provides a content controller for entities.
Namespace
Drupal\eck\ControllerCode
public function addPageTitle(EckEntityTypeInterface $eck_entity_type) {
return $this
->t('Add %label content', [
'%label' => $eck_entity_type
->label(),
]);
}