Drupal::entityManager

public static Drupal::entityManager() Retrieves the entity manager service. Return value \Drupal\Core\Entity\EntityManagerInterface The entity manager service. Deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal::entityTypeManager() instead in most cases. If the needed method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the deprecated \Drupal\Core\Entity\EntityManager to find the correct interface or service. File core/lib/Drupal.php, line 262 Co

StringBase::$storage

The locale storage this string comes from or is to be saved to. Type: \Drupal\locale\StringStorageInterface File core/modules/locale/src/StringBase.php, line 52 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code protected $storage;

StringBase::$context

The string context. Type: string File core/modules/locale/src/StringBase.php, line 38 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code public $context;

Datelist::processDatelist

public static Datelist::processDatelist(&$element, FormStateInterface $form_state, &$complete_form) Expands a date element into an array of individual elements. Required settings: #default_value: A DrupalDateTime object, adjusted to the proper local timezone. Converting a date stored in the database from UTC to the local zone and converting it back to UTC before storing it is not handled here. This element accepts a date as the default value, and then converts the user input strings ba

Theme system overview

Functions and templates for the user interface that themes can override. Drupal's theme system allows a theme to have nearly complete control over the appearance of the site, which includes both the markup and the CSS used to style the markup. For this system to work, modules, instead of writing HTML markup directly, need to return "render arrays", which are structured hierarchical arrays that include the data to be rendered into HTML (or XML or another output format), and options that affect t

SystemController::$themeAccess

The theme access checker service. Type: \Drupal\Core\Theme\ThemeAccessCheck File core/modules/system/src/Controller/SystemController.php, line 41 Class SystemController Returns responses for System routes. Namespace Drupal\system\Controller Code protected $themeAccess;

CheckProviderInterface

Provides the available access checkers by service IDs. Access checker services are added by ::addCheckService calls and are loaded by ::loadCheck. The checker provider service and the actual checking is separated in order to not require the full access manager on route build time. Hierarchy interface \Drupal\Core\Access\CheckProviderInterface File core/lib/Drupal/Core/Access/CheckProviderInterface.php, line 16 Namespace Drupal\Core\Access Members Name Modifiers Type Description

TermForm

Base for handler for taxonomy term edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\taxonomy\TermForm File core/modules/taxonomy/

ViewsEntitySchemaSubscriber::onEntityTypeUpdate

public ViewsEntitySchemaSubscriber::onEntityTypeUpdate(EntityTypeInterface $entity_type, EntityTypeInterface $original) Reacts to the update of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The updated entity type definition. \Drupal\Core\Entity\EntityTypeInterface $original: The original entity type definition. Overrides EntityTypeEventSubscriberTrait::onEntityTypeUpdate File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 97

ImageStyleFormBase

Base form for image style add and edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\image\Form\ImageStyleFormBase File core/modules/image/src/Form/ImageStyleFormBase.php, line 13 Namespace Drupal\image\Form