function FieldUiPermissions::create

Same name in other branches
  1. 9 core/modules/field_ui/src/FieldUiPermissions.php \Drupal\field_ui\FieldUiPermissions::create()
  2. 8.9.x core/modules/field_ui/src/FieldUiPermissions.php \Drupal\field_ui\FieldUiPermissions::create()
  3. 10 core/modules/field_ui/src/FieldUiPermissions.php \Drupal\field_ui\FieldUiPermissions::create()

Overrides ContainerInjectionInterface::create

File

core/modules/field_ui/src/FieldUiPermissions.php, line 37

Class

FieldUiPermissions
Provides dynamic permissions of the field_ui module.

Namespace

Drupal\field_ui

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('entity_type.manager'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.