public function PageManagerController::editPageVariantTitle in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Controller/PageManagerController.php \Drupal\page_manager_ui\Controller\PageManagerController::editPageVariantTitle()
Route title callback.
Parameters
\Drupal\page_manager\PageVariantInterface $page_variant: The page variant entity.
Return value
string The title for the page variant edit form.
File
- page_manager_ui/
src/ Controller/ PageManagerController.php, line 127 - Contains \Drupal\page_manager_ui\Controller\PageManagerController.
Class
- PageManagerController
- Provides route controllers for Page Manager.
Namespace
Drupal\page_manager_ui\ControllerCode
public function editPageVariantTitle(PageVariantInterface $page_variant) {
return $this
->t('Edit %label variant', [
'%label' => $page_variant
->label(),
]);
}