public static function FieldPermissionsController::create in Field Permissions 8
Same name and namespace in other branches
- 8.2 src/Controller/FieldPermissionsController.php \Drupal\field_permissions\Controller\FieldPermissionsController::create()
Uses late static binding to create an instance of this class with injected dependencies.
Overrides ControllerBase::create
File
- src/
Controller/ FieldPermissionsController.php, line 64
Class
- FieldPermissionsController
- Define FieldPermissionsController.
Namespace
Drupal\field_permissions\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container
->get('field_permissions.permissions_service'), $container
->get('entity_type.manager'), $container
->get('plugin.field_permissions.types.manager'));
}