public static function PublishCacheflush::create in CacheFlush 8
Class create method.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The drupal 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/ PublishCacheflush.php, line 61
Class
- PublishCacheflush
- Publishes a cacheflush.
Namespace
Drupal\cacheflush_ui\Plugin\ActionCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('router.builder'));
}