BlockViewBuilder::__construct

public BlockViewBuilder::__construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, ModuleHandlerInterface $module_handler) Constructs a new BlockViewBuilder. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

ImageFactory::$toolkitId

The image toolkit ID to use for this factory. Type: string File core/lib/Drupal/Core/Image/ImageFactory.php, line 24 Class ImageFactory Provides a factory for image objects. Namespace Drupal\Core\Image Code protected $toolkitId;

FormBuilder::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Form/FormBuilder.php, line 49 Class FormBuilder Provides form building and processing. Namespace Drupal\Core\Form Code protected $requestStack;

BatchStorage::$csrfToken

The CSRF token generator. Type: \Drupal\Core\Access\CsrfTokenGenerator File core/lib/Drupal/Core/Batch/BatchStorage.php, line 36 Class BatchStorage Namespace Drupal\Core\Batch Code protected $csrfToken;

EntityFieldManagerInterface::getFieldMap

public EntityFieldManagerInterface::getFieldMap() Gets a lightweight map of fields across bundles. Return value array An array keyed by entity type. Each value is an array which keys are field names and value is an array with two entries: type: The field type. bundles: An associative array of the bundles in which the field appears, where the keys and values are both the bundle's machine name. File core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php, line 74 Class EntityFieldMan

EntityDisplayFormBase::$displayContext

The display context. Either 'view' or 'form'. Type: string File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 28 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected $displayContext;

EntityBundleListenerInterface::onBundleCreate

public EntityBundleListenerInterface::onBundleCreate($bundle, $entity_type_id) Reacts to a bundle being created. Parameters string $bundle: The name of the bundle created. string $entity_type_id: The entity type to which the bundle is bound; e.g. 'node' or 'user'. File core/lib/Drupal/Core/Entity/EntityBundleListenerInterface.php, line 20 Class EntityBundleListenerInterface An interface for reacting to entity bundle creation and deletion. Namespace Drupal\Core\Entity Code public funct

AssetCollectionOptimizerInterface::optimize

public AssetCollectionOptimizerInterface::optimize(array $assets) Optimizes a collection of assets. Parameters array $assets: An asset collection. Return value array An optimized asset collection. File core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php, line 19 Class AssetCollectionOptimizerInterface Interface defining a service that optimizes a collection of assets. Namespace Drupal\Core\Asset Code public function optimize(array $assets);

VariantInterface

Provides an interface for DisplayVariant plugins. Hierarchy interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\ConfigurablePluginInterface; interface \Drupal\Core\Plugin\PluginFormInterface; interface \Drupal\Core\Cache\RefinableCacheableDependencyInterfaceinterface \Drupal\Core\Display\VariantInterface See also \Drupal\Core\Display\Annotation\DisplayVariant \Drupal\Core\Display\VariantBase \Drupal\Core\Display\VariantManager Plugin API File co

MenuDeleteForm::submitForm

public MenuDeleteForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless th