YamlFileLoader

YamlFileLoader loads YAML files service definitions. Drupal does not use Symfony's Config component, and Symfony's dependency on it cannot be removed easily. Therefore, this is a partial but mostly literal copy of upstream, which does not depend on the Config component. NOTE: 98% of this code is a literal copy of Symfony's YamlFileLoader. This file does NOT follow Drupal coding standards, so as to simplify future synchronizations. Hierarchy class \Drupal\Core\DependencyInjection\YamlFileLoader

UpdateProcessor::$tempStore

Update key/value store Type: \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface File core/modules/update/src/UpdateProcessor.php, line 43 Class UpdateProcessor Process project update information. Namespace Drupal\update Code protected $tempStore;

UserAuthenticationController

Provides controllers for login, login status and logout via HTTP requests. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Controller\UserAuthenticationController implements ContainerInjectionInterface File core/modules/user/src/Controller/UserAuthenticationController.php, line 24 Namespace Drupal\user\Controller

TermStorageInterface::resetWeights

public TermStorageInterface::resetWeights($vid) Reset the weights for a given vocabulary ID. Parameters string $vid: Vocabulary ID to retrieve terms for. File core/modules/taxonomy/src/TermStorageInterface.php, line 103 Class TermStorageInterface Defines an interface for taxonomy_term entity storage classes. Namespace Drupal\taxonomy Code public function resetWeights($vid);

ContentEntityBase::language

public ContentEntityBase::language() Gets the language of the entity. Return value \Drupal\Core\Language\LanguageInterface The language object. Overrides Entity::language File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 599 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function language() { $language = NULL; if ($this->activeLangcode != LanguageInterface::LANGCODE_DEFAULT) {

EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition

public EntityDefinitionUpdateManagerInterface::getFieldStorageDefinition($name, $entity_type_id) Returns a field storage definition ready to be manipulated. When needing to apply updates to existing field storage definitions, this method should always be used to retrieve a storage definition ready to be manipulated. @todo Make this return a mutable storage definition interface when we have one. See https://www.drupal.org/node/2346329. Parameters string $name: The field name. string $entity_typ

EntityFieldManagerInterface::getFieldStorageDefinitions

public EntityFieldManagerInterface::getFieldStorageDefinitions($entity_type_id) Gets the field storage definitions for a content entity type. This returns all field storage definitions for base fields and bundle fields of an entity type. Note that field storage definitions of a base field equal the full base field definition (i.e. they implement FieldDefinitionInterface), while the storage definitions for bundle fields may implement FieldStorageDefinitionInterface only. Parameters string $enti

NodeRevisionRevertForm::create

public static NodeRevisionRevertForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The s

BaseFieldDefinition::getPropertyDefinition

public BaseFieldDefinition::getPropertyDefinition($name) Gets the definition of a contained property. Parameters string $name: The name of property. Return value \Drupal\Core\TypedData\DataDefinitionInterface|null The definition of the property or NULL if the property does not exist. Overrides FieldStorageDefinitionInterface::getPropertyDefinition File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 524 Class BaseFieldDefinition A class for defining entity fields. Namespace D

DateTimePlus::createFromTimestamp

public static DateTimePlus::createFromTimestamp($timestamp, $timezone = NULL, $settings = array()) Creates a date object from timestamp input. The timezone of a timestamp is always UTC. The timezone for a timestamp indicates the timezone used by the format() method. Parameters int $timestamp: A UNIX timestamp. mixed $timezone: @see __construct() array $settings: @see __construct() Return value static A new DateTimePlus object. Throws \Exception If the timestamp is not numeric. File core/lib/