public static function AddMenuCacheflush::create in CacheFlush 8
The 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/ AddMenuCacheflush.php, line 61
Class
- AddMenuCacheflush
- Add menu item.
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'));
}