EntityForm

Base class for entity forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterface Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Entity/EntityForm.php, line 16

RegisterServicesForDestructionPass

Adds services tagged "needs_destruction" to the "kernel_destruct_subscriber" service. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\RegisterServicesForDestructionPass implements CompilerPassInterface See also \Drupal\Core\DestructableInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php, line 14 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description RegisterServicesForDestruction

RouteMatch::$parameters

A key|value store of parameters. Type: \Symfony\Component\HttpFoundation\ParameterBag File core/lib/Drupal/Core/Routing/RouteMatch.php, line 34 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $parameters;

ConfigInstaller::installOptionalConfig

public ConfigInstaller::installOptionalConfig(StorageInterface $storage = NULL, $dependency = []) Installs optional configuration. Optional configuration is only installed if: the configuration does not exist already. it's a configuration entity. its dependencies can be met. Parameters \Drupal\Core\Config\StorageInterface $storage: (optional) The configuration storage to search for optional configuration. If not provided, all enabled extension's optional configuration directories will be sea

Schema::queryTableInformation

public Schema::queryTableInformation($table) Fetch the list of blobs and sequences used on a table. We introspect the database to collect the information required by insert and update queries. Parameters $table_name: The non-prefixed name of the table. Return value An object with two member variables: 'blob_fields' that lists all the blob fields in the table. 'sequences' that lists the sequences used in that table. File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 89 Class

ModerationStateTransitionDeleteForm::getConfirmText

public ModerationStateTransitionDeleteForm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides EntityConfirmFormBase::getConfirmText File core/modules/content_moderation/src/Form/ModerationStateTransitionDeleteForm.php, line 31 Class ModerationStateTransitionDeleteForm Builds the form to delete Moderation state transition entities. Namespace Drupal\content_moderation\Form Code public function getConfirm

ViewsEntitySchemaSubscriber::BASE_TABLE_RENAME

Indicates that a base table got renamed. File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 23 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\views\EventSubscriber Code const BASE_TABLE_RENAME = 0;

LocaleLookup::resolveCacheMiss

protected LocaleLookup::resolveCacheMiss($offset) Resolves a cache miss. When an offset is not found in the object, this is treated as a cache miss. This method allows classes using this implementation to look up the actual value and allow it to be cached. Parameters string $key: The offset that was requested. Return value mixed The value of the offset, or NULL if no value was found. Overrides CacheCollector::resolveCacheMiss File core/modules/locale/src/LocaleLookup.php, line 134 Class L

EntityDisplayRepositoryInterface::getViewModeOptionsByBundle

public EntityDisplayRepositoryInterface::getViewModeOptionsByBundle($entity_type_id, $bundle) Returns an array of enabled view mode options by bundle. Parameters string $entity_type_id: The entity type whose view mode options should be returned. string $bundle: The name of the bundle. Return value array An array of view mode labels, keyed by the display mode ID. File core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php, line 81 Class EntityDisplayRepositoryInterface Provides

ContentEntityInterface

Defines a common interface for all content entity objects. Content entities use fields for all their entity properties and are translatable and revisionable, while translations and revisions can be enabled per entity type. It's best practice to always implement ContentEntityInterface for content-like entities that should be stored in some database, and enable/disable revisions and translations as desired. When implementing this interface which extends Traversable, make sure to list IteratorAggr