Same name and namespace in other branches
  1. 8.x-1.x src/Plugin/Derivative/DynamicLocalTasks.php \Drupal\entity_clone\Plugin\Derivative\DynamicLocalTasks::create() 1 comment

File

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

Class

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'));
}