Details::getInfo

public Details::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Details.php, line 42 Class Details Provides a render element for a details element, similar to a fieldset. Namespace Drupal\Core\Rend

details.html.twig

Default theme implementation for a details element. Available variables attributes: A list of HTML attributes for the details element. errors: (optional) Any errors for this details element, may not be set. title: (optional) The title of the element, may not be set. description: (optional) The description of the element, may not be set. children: (optional) The children of the element, may not be set. value: (optional) The value of the element, may not be set. See also template_preproc

Details

Provides a render element for a details element, similar to a fieldset. Fieldsets can only be used in forms, while details elements can be used outside of forms. Users click on the title to open or close the details element, showing or hiding the contained elements. Properties: #title: The title of the details container. Defaults to "Details". #open: Indicates whether the container should be open by default. Defaults to FALSE. Usage example: $form['author'] = array( '#type' => 'details

DestructableInterface::destruct

public DestructableInterface::destruct() Performs destruct operations. File core/lib/Drupal/Core/DestructableInterface.php, line 20 Class DestructableInterface The interface for services that need explicit destruction. Namespace Drupal\Core Code public function destruct();

DestructableInterface

The interface for services that need explicit destruction. This is useful for services that need to perform additional tasks to finalize operations or clean up after the response is sent and before the service is terminated. Services using this interface need to be registered with the "needs_destruction" tag. Hierarchy interface \Drupal\Core\DestructableInterface File core/lib/Drupal/Core/DestructableInterface.php, line 15 Namespace Drupal\Core Members Name Modifiers Type Descri

DependencyTrait::addDependency

protected DependencyTrait::addDependency($type, $name) Adds a dependency. Parameters string $type: Type of dependency being added: 'module', 'theme', 'config', 'content'. string $name: If $type is 'module' or 'theme', the name of the module or theme. If $type is 'config' or 'content', the result of EntityInterface::getConfigDependencyName(). Return value $this See also \Drupal\Core\Entity\EntityInterface::getConfigDependencyName() File core/lib/Drupal/Core/Entity/DependencyTrait.php, line 31

DependencyTrait::addDependencies

protected DependencyTrait::addDependencies(array $dependencies) Adds multiple dependencies. Parameters array $dependencies.: An array of dependencies keyed by the type of dependency. One example: array( 'module' => array( 'node', 'field', 'image', ), ); See also \Drupal\Core\Entity\DependencyTrait::addDependency File core/lib/Drupal/Core/Entity/DependencyTrait.php, line 64 Class DependencyTrait Provides a trait for managing an object's dependencies.

DependencyTrait::$dependencies

The object's dependencies. Type: array File core/lib/Drupal/Core/Entity/DependencyTrait.php, line 15 Class DependencyTrait Provides a trait for managing an object's dependencies. Namespace Drupal\Core\Entity Code protected $dependencies = array();

DependencyTrait

Provides a trait for managing an object's dependencies. Hierarchy trait \Drupal\Core\Entity\DependencyTrait File core/lib/Drupal/Core/Entity/DependencyTrait.php, line 8 Namespace Drupal\Core\Entity Members Name Modifiers Type Description DependencyTrait::$dependencies protected property The object's dependencies. DependencyTrait::addDependencies protected function Adds multiple dependencies. DependencyTrait::addDependency protected function Adds a depende

DependencySerializationTraitPass::process

public DependencySerializationTraitPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php, line 18 Class DependencySerializationTraitPass Sets the _serviceId property on all services. Namespace Drupal\Core\DependencyInjection\Compiler Code public function proce