EntityFieldManager::$baseFieldDefinitions

Static cache of base field definitions. Type: array File core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 38 Class EntityFieldManager Manages the discovery of entity fields. Namespace Drupal\Core\Entity Code protected $baseFieldDefinitions;

EntityRepository::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Entity/EntityRepository.php, line 27 Class EntityRepository Provides several mechanisms for retrieving entities. Namespace Drupal\Core\Entity Code protected $languageManager;

ResourceRoutes::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/modules/rest/src/Routing/ResourceRoutes.php, line 36 Class ResourceRoutes Subscriber for REST-style routes. Namespace Drupal\rest\Routing Code protected $logger;

hook_language_types_info

hook_language_types_info() Define language types. Return value array An associative array of language type definitions. The keys are the identifiers, which are also used as names for global variables representing the types in the bootstrap phase. The values are associative arrays that may contain the following elements: name: The human-readable language type identifier. description: A description of the language type. locked: A boolean indicating if the user can choose whether to configure

MenuLinkContent::baseFieldDefinitions

public static MenuLinkContent::baseFieldDefinitions(EntityTypeInterface $entity_type) Provides base field definitions for an entity type. Implementations typically use the class \Drupal\Core\Field\BaseFieldDefinition for creating the field definitions; for example a 'name' field could be defined as the following: $fields['name'] = BaseFieldDefinition::create('string') ->setLabel(t('Name')); By definition, base fields are fields that exist for every bundle. To provide definitions for fiel

FormStateDecoratorBase::isValidationEnforced

public FormStateDecoratorBase::isValidationEnforced() Checks if validation is enforced. Return value bool If TRUE, validation will always be run. Overrides FormStateInterface::isValidationEnforced File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 187 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function isValidationEnforced() { return $this->decoratedFormState->isValidationEnforced(); }

StringInterface::isSource

public StringInterface::isSource() Checks whether the object is a source string. Return value bool TRUE if the object is a source string, FALSE otherwise. File core/modules/locale/src/StringInterface.php, line 116 Class StringInterface Defines the locale string interface. Namespace Drupal\locale Code public function isSource();

DbUpdateController::$postUpdateRegistry

The post update registry. Type: \Drupal\Core\Update\UpdateRegistry File core/modules/system/src/Controller/DbUpdateController.php, line 78 Class DbUpdateController Controller routines for database update routes. Namespace Drupal\system\Controller Code protected $postUpdateRegistry;

DateFormatterInterface::format

public DateFormatterInterface::format($timestamp, $type = 'medium', $format = '', $timezone = NULL, $langcode = NULL) Formats a date, using a date type or a custom date format string. Parameters int $timestamp: A UNIX timestamp to format. string $type: (optional) The format to use, one of: One of the built-in formats: 'short', 'medium', 'long', 'html_datetime', 'html_date', 'html_time', 'html_yearless_date', 'html_week', 'html_month', 'html_year'. The name of a date type defined by a date for

ViewsWizard::$id

The plugin ID. Type: string File core/modules/views/src/Annotation/ViewsWizard.php, line 22 Class ViewsWizard Defines a Plugin annotation object for views wizard plugins. Namespace Drupal\views\Annotation Code public $id;