DrupalKernel::loadLegacyIncludes

public DrupalKernel::loadLegacyIncludes() Helper method that loads legacy Drupal include files. Overrides DrupalKernelInterface::loadLegacyIncludes File core/lib/Drupal/Core/DrupalKernel.php, line 520 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code public function loadLegacyIncludes() { require_once $this->root . '/core/includes/common.inc'; require_once $this->root . '/core/includes/database.inc'; require_once $this->ro

install_display_requirements

install_display_requirements($install_state, $requirements) Displays installation requirements. Parameters array $install_state: An array of information about the current installation state. array $requirements: An array of requirements, in the same format as is returned by hook_requirements(). Return value A themed status report, or an exception if there are requirement errors. If there are only requirement warnings, a themed status report is shown initially, but the user is allowed to bypas

FieldStorageDefinitionEventSubscriberTrait::getFieldStorageDefinitionEvents

public static FieldStorageDefinitionEventSubscriberTrait::getFieldStorageDefinitionEvents() Returns the subscribed events. Return value array An array of subscribed event names. See also \Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents() File core/lib/Drupal/Core/Field/FieldStorageDefinitionEventSubscriberTrait.php, line 24 Class FieldStorageDefinitionEventSubscriberTrait Helper methods for FieldStorageDefinitionListenerInterface. Namespace Drupal\Core\

ConfigTranslationDeleteForm::buildForm

public ConfigTranslationDeleteForm::buildForm(array $form, FormStateInterface $form_state, RouteMatchInterface $route_match = NULL, $plugin_id = NULL, $langcode = NULL) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfirmFormBase::buildForm File core/modules/config_translation/src/Form/ConfigTranslationDeleteF

file_uri_scheme

file_uri_scheme($uri) Returns the scheme of a URI (e.g. a stream). Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::uriScheme(). Related topics File interface Common file handling functions. File core/includes/file.inc, line 81 API for handling file uploads and server file management. Code function file_uri_scheme($uri) { return \Drupal::service('file_system')->uriScheme($uri); }

template_preprocess_field

template_preprocess_field(&$variables, $hook) Prepares variables for field templates. Default template: field.html.twig. Parameters array $variables: An associative array containing: element: A render element representing the field. attributes: A string containing the attributes for the wrapping div. title_attributes: A string containing the attributes for the title. File core/includes/theme.inc, line 1526 The theme system, which controls the output of Drupal. Code function template

KeyValueEntityStorage::loadRevision

public KeyValueEntityStorage::loadRevision($revision_id) Load a specific entity revision. Parameters int|string $revision_id: The revision id. Return value \Drupal\Core\Entity\EntityInterface|null The specified entity revision or NULL if not found. Overrides EntityStorageInterface::loadRevision File core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueEntityStorage.php, line 129 Class KeyValueEntityStorage Provides a key value backend for entities. Namespace Drupal\Core\Entity\KeyValueSt

MemoryBackend::deleteAll

public MemoryBackend::deleteAll() Deletes all cache items in a bin. Overrides CacheBackendInterface::deleteAll See also \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() \Drupal\Core\Cache\CacheBackendInterface::delete() \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() File core/lib/Drupal/Core/Cache/MemoryBackend.php, line 144 Class MemoryBackend Defines a memory cache implementation. Namespace Drupal\Core\Cache Code public function deleteAll() { $this->cache =

UserPasswordForm

Provides a user password reset form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserPasswordForm File core/modules/user/src/Form/UserPasswordForm.php, line 15 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySerializationTrait::$_se

content_translation_help

content_translation_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/content_translation/content_translation.module, line 21 Allows entities to be translated into different languages. Code function content_translation_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.content_translation': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t(