You are here

public static function UnpublishCacheflush::create in CacheFlush 8

Class create method.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

array $configuration: The configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

Return value

static The returned static form.

File

modules/cacheflush_ui/src/Plugin/Action/UnpublishCacheflush.php, line 61

Class

UnpublishCacheflush
Unpublishes a cacheflush.

Namespace

Drupal\cacheflush_ui\Plugin\Action

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('router.builder'));
}