public function FieldPermissionsController::content in Field Permissions 8
Same name and namespace in other branches
- 8.2 src/Controller/FieldPermissionsController.php \Drupal\field_permissions\Controller\FieldPermissionsController::content()
Content to page report all field permissions settings.
Build table to Path: 'admin/reports/fields/permissions'.
1 string reference to 'FieldPermissionsController::content'
File
- src/
Controller/ FieldPermissionsController.php, line 77
Class
- FieldPermissionsController
- Define FieldPermissionsController.
Namespace
Drupal\field_permissions\ControllerCode
public function content() {
$build['table'] = [
'#type' => 'table',
'#header' => $this
->buildHeader(),
'#title' => $this
->getTitle(),
'#rows' => $this
->buildRows(),
];
$build['#attached']['library'] = 'field_permissions/field_permissions';
return $build;
}