Field dependency injection container.
Expanded class hierarchy of FieldBundle
class FieldBundle extends Bundle {
/**
* Overrides Symfony\Component\HttpKernel\Bundle\Bundle::build().
*/
public function build(ContainerBuilder $container) {
// Register the plugin managers for our plugin types with the dependency injection container.
$container
->register('plugin.manager.field.widget', 'Drupal\\field\\Plugin\\Type\\Widget\\WidgetPluginManager');
$container
->register('plugin.manager.field.formatter', 'Drupal\\field\\Plugin\\Type\\Formatter\\FormatterPluginManager');
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldBundle:: |
public | function |
Overrides Symfony\Component\HttpKernel\Bundle\Bundle::build(). Overrides Bundle:: |
|
Bundle:: |
public | function |
Boots the Bundle. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Shutdowns the Bundle. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Returns the bundle's container extension. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Gets the Bundle namespace. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Gets the Bundle directory path. Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Returns the bundle parent name. Overrides BundleInterface:: |
|
Bundle:: |
final public | function |
Returns the bundle name (the class short name). Overrides BundleInterface:: |
|
Bundle:: |
public | function | Finds and registers Commands. | |
ContainerAware:: |
public | function |
Sets the Container associated with this Controller. Overrides ContainerAwareInterface:: |
|
Bundle:: |
protected | property | ||
Bundle:: |
protected | property | ||
Bundle:: |
protected | property | ||
ContainerAware:: |
protected | property | @api |