interface ContainerFactoryPluginInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Plugin/ContainerFactoryPluginInterface.php \Drupal\Core\Plugin\ContainerFactoryPluginInterface
Defines an interface for pulling plugin dependencies from the container.
Hierarchy
- interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface
Expanded class hierarchy of ContainerFactoryPluginInterface
All classes that implement ContainerFactoryPluginInterface
96 files declare their use of ContainerFactoryPluginInterface
- AggregatorFeedBlock.php in core/
modules/ aggregator/ src/ Plugin/ Block/ AggregatorFeedBlock.php - Contains \Drupal\aggregator\Plugin\Block\AggregatorFeedBlock.
- AjaxFormBlock.php in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Contains \Drupal\ajax_forms_test\Plugin\Block\AjaxFormBlock.
- AssignOwnerNode.php in core/
modules/ node/ src/ Plugin/ Action/ AssignOwnerNode.php - Contains \Drupal\node\Plugin\Action\AssignOwnerNode.
- BlockContentBlock.php in core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php - Contains \Drupal\block_content\Plugin\Block\BlockContentBlock.
- BlockedIp.php in core/
modules/ ban/ src/ Plugin/ migrate/ destination/ BlockedIp.php - Contains \Drupal\ban\Plugin\migrate\destination\BlockedIP.
File
- core/
lib/ Drupal/ Core/ Plugin/ ContainerFactoryPluginInterface.php, line 15 - Contains \Drupal\Core\Plugin\ContainerFactoryPluginInterface.
Namespace
Drupal\Core\PluginView source
interface ContainerFactoryPluginInterface {
/**
* Creates an instance of the plugin.
*
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
* The container to pull out services used in the plugin.
* @param array $configuration
* A configuration array containing information about the plugin instance.
* @param string $plugin_id
* The plugin ID for the plugin instance.
* @param mixed $plugin_definition
* The plugin implementation definition.
*
* @return static
* Returns an instance of this plugin.
*/
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 90 |