Same name in other branches
  1. 2.x src/Plugin/Derivative/DynamicLocalTasks.php \Drupal\entity_clone\Plugin\Derivative\DynamicLocalTasks::create()

Fichier

src/Plugin/Derivative/DynamicLocalTasks.php, line 46

Classe

DynamicLocalTasks
Defines dynamic local tasks.

Namespace

Drupal\entity_clone\Plugin\Derivative

Code

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