ContentEntityBase::onChange

public ContentEntityBase::onChange($name) Reacts to changes to a field. Note that this is invoked after any changes have been applied. Parameters string $field_name: The name of the field which is changed. Throws \InvalidArgumentException When trying to assign a value to the language field that matches an existing translation. \LogicException When trying to change: The language of a translation. The value of the flag identifying the default translation object. Overrides FieldableEntityInter

Display

Provides a form for editing the Views display. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterfaceclass \Drupal\views_ui\Form\Ajax\Display File core/modules/views_ui/src/Form/Ajax/Display.php, line 11 Namespace Drupal\views_ui

FileStorage

File storage for files. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityStorageBase implements EntityHandlerInterface, EntityStorageInterfaceclass \Drupal\Core\Entity\ContentEntityStorageBase implements ContentEntityStorageInterface, DynamicallyFieldableEntityStorageInterfaceclass \Drupal\Core\Entity\Sql\SqlContentEntityStorage implements EntityBundleListenerInterface, DynamicallyFieldableEntityStorag

MailManager

Provides a Mail plugin manager. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Mail\MailManager implements MailManagerInterface uses StringTranslationTrait See also \Drupal\Core\Annotation\Mail \Drupal\Core\Mail\MailInterface

BookManager::addFormElements

public BookManager::addFormElements(array $form, FormStateInterface $form_state, NodeInterface $node, AccountInterface $account, $collapsed = TRUE) Builds the common elements of the book form for the node and outline forms. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\node\NodeInterface $node: The node whose form is being viewed. \Drupal\Core\Session\AccountInterface $

FilterFormatAddForm

Provides a form for adding a filter format. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\filter\FilterFormatFormBaseclass \Drupal\filter\FilterFormatAddForm File core/modules/filter/src/FilterFormatAddForm.php, line 10

DataReferenceBase

Base class for typed data references. Data types based on this base class need to be named "{TARGET_TYPE}_reference", whereas {TARGET_TYPE} is the referenced data type. For example, an entity reference data type would have to be named "entity_reference". Beside that, implementing classes have to implement at least \Drupal\Core\TypedData\DataReferenceInterface::getTargetIdentifier(). Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses St

ConfigSync

Construct the storage changes in a configuration synchronization form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\config\Form\ConfigSync File core/modules/config/src/Form/ConfigSync.php, line 25 Namespace Drupal\config\Form Members Name Modifiers Type Description Config

_node_access_rebuild_batch_operation

_node_access_rebuild_batch_operation(&$context) Implements callback_batch_operation(). Performs batch operation for node_access_rebuild(). This is a multistep operation: we go through all nodes by packs of 20. The batch processing engine interrupts processing and sends progress feedback after 1 second execution time. Parameters array $context: An array of contextual key/value information for rebuild batch process. Related topics Node access rights The node access system determines who can

Events

Overview of event dispatch and subscribing Introduction and terminology Events are part of the Symfony framework: they allow for different components of the system to interact and communicate with each other. Each event has a unique string name. One system component dispatches the event at an appropriate time; many events are dispatched by Drupal core and the Symfony framework in every request. Other system components can register as event subscribers; when an event is dispatched, a method is c