class FieldSqlStorageBundle

Hierarchy

Expanded class hierarchy of FieldSqlStorageBundle

File

drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/FieldSqlStorageBundle.php, line 14
Definition of Drupal\field_sql_storage\FieldSqlStorageBundle.

Namespace

Drupal\field_sql_storage
View source
class FieldSqlStorageBundle extends Bundle {
  public function build(ContainerBuilder $container) {
    $container
      ->register('entity.query.field_sql_storage', 'Drupal\\field_sql_storage\\Entity\\QueryFactory')
      ->addArgument(new Reference('database'));
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Bundle::$extension protected property
Bundle::$name protected property
Bundle::$reflected protected property
Bundle::boot public function Boots the Bundle. Overrides BundleInterface::boot
Bundle::getContainerExtension public function Returns the bundle's container extension. Overrides BundleInterface::getContainerExtension
Bundle::getName final public function Returns the bundle name (the class short name). Overrides BundleInterface::getName
Bundle::getNamespace public function Gets the Bundle namespace. Overrides BundleInterface::getNamespace
Bundle::getParent public function Returns the bundle parent name. Overrides BundleInterface::getParent
Bundle::getPath public function Gets the Bundle directory path. Overrides BundleInterface::getPath
Bundle::registerCommands public function Finds and registers Commands.
Bundle::shutdown public function Shutdowns the Bundle. Overrides BundleInterface::shutdown
ContainerAware::$container protected property @api
ContainerAware::setContainer public function Sets the Container associated with this Controller. Overrides ContainerAwareInterface::setContainer
FieldSqlStorageBundle::build public function Builds the bundle. Overrides Bundle::build