LanguageNegotiator::updateConfiguration

LanguageNegotiator::updateConfiguration(array $types) Updates the configuration based on the given language types. Stores the list of the language types along with information about their configurable state. Stores the default settings if the language type is not configurable. Parameters string[] $types: An array of configurable language types. Overrides LanguageNegotiatorInterface::updateConfiguration File core/modules/language/src/LanguageNegotiator.php, line 292 Class LanguageNegotiator

State::$cache

Static state cache. Type: array File core/lib/Drupal/Core/State/State.php, line 24 Class State Provides the state system using a key value store. Namespace Drupal\Core\State Code protected $cache = array();

UPDATE_NOT_CURRENT

Project has a new release available, but it is not a security release. File core/modules/update/update.module, line 39 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_CURRENT = 4;

ContentTranslationHandler::entityFormTitle

protected ContentTranslationHandler::entityFormTitle(EntityInterface $entity) Returns the title to be used for the entity form page. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity whose form is being altered. Return value string|null The label of the entity, or NULL if there is no label defined. File core/modules/content_translation/src/ContentTranslationHandler.php, line 703 Class ContentTranslationHandler Base class for content translation handlers. Namespace Dru

WidgetBase::settingsForm

public WidgetBase::settingsForm(array $form, FormStateInterface $form_state) Returns a form to configure settings for the widget. Invoked from \Drupal\field_ui\Form\EntityDisplayFormBase to allow administrators to configure the widget. The field_ui module takes care of handling submitted form values. Parameters array $form: The form where the settings form is being included in. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form definit

FileAccessControlHandler::checkAccess

protected FileAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for wh

TermTranslationHandler

Defines the translation handler for terms. Hierarchy class \Drupal\content_translation\ContentTranslationHandler implements ContentTranslationHandlerInterface, EntityHandlerInterface uses DependencySerializationTraitclass \Drupal\taxonomy\TermTranslationHandler File core/modules/taxonomy/src/TermTranslationHandler.php, line 12 Namespace Drupal\taxonomy Members Name Modifiers Type Description ContentTranslationHandler::$currentUser protected property The current user.

DiffFormatter

A class to format Diffs This class formats the diff in classic diff format. It is intended that this class be customized via inheritance, to obtain fancier outputs. @todo document @private @subpackage DifferenceEngine Hierarchy class \Drupal\Component\Diff\DiffFormatter File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 17 Namespace Drupal\Component\Diff Members Name Modifiers Type Description DiffFormatter::$leading_context_lines public property Number of leadi

EntityType::$class

The name of the entity type class. Type: string File core/lib/Drupal/Core/Entity/EntityType.php, line 66 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $class;

EntityFieldManager::getFieldMap

public EntityFieldManager::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. Overrides EntityFieldManagerInterface::getFieldMap File core/lib/Drupal/Core/Entity/EntityFieldManager.php,