function DevelGeneratePermissions::create

Same name in other branches
  1. 8.x-1.x devel_generate/src/DevelGeneratePermissions.php \Drupal\devel_generate\DevelGeneratePermissions::create()
  2. 5.x devel_generate/src/DevelGeneratePermissions.php \Drupal\devel_generate\DevelGeneratePermissions::create()

Overrides ContainerInjectionInterface::create

File

devel_generate/src/DevelGeneratePermissions.php, line 36

Class

DevelGeneratePermissions
Provides dynamic permissions of the filter module.

Namespace

Drupal\devel_generate

Code

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