protected function PageParametersForm::getOperations in Page Manager 8
Same name and namespace in other branches
- 8.4 page_manager_ui/src/Form/PageParametersForm.php \Drupal\page_manager_ui\Form\PageParametersForm::getOperations()
1 call to PageParametersForm::getOperations()
- PageParametersForm::renderRows in page_manager_ui/
src/ Form/ PageParametersForm.php
File
- page_manager_ui/
src/ Form/ PageParametersForm.php, line 97 - Contains \Drupal\page_manager_ui\Form\PageParametersForm.
Class
Namespace
Drupal\page_manager_ui\FormCode
protected function getOperations($route_name_base, array $route_parameters = array()) {
$operations['edit'] = array(
'title' => t('Edit'),
'url' => new Url($route_name_base . '.edit', $route_parameters),
'weight' => 10,
'attributes' => array(
'class' => [
'use-ajax',
],
'data-dialog-type' => 'modal',
'data-dialog-options' => Json::encode([
'width' => 700,
]),
),
);
return $operations;
}