PluralFormula::setPluralFormula

public PluralFormula::setPluralFormula($langcode, $plural_count, array $formula) Parameters string $langcode: The language code to get the formula for. int $plural_count: The number of plural forms. array $formula: An array of formulae. Return value self The PluralFormula object. Overrides PluralFormulaInterface::setPluralFormula File core/modules/locale/src/PluralFormula.php, line 55 Class PluralFormula Manages the storage of plural formula per language in state. Namespace Drupal\loc

EntityType::getUriCallback

public EntityType::getUriCallback() Gets a callable that can be used to provide the entity URI. This is only called if there is no matching link template for the link relationship type, and there is no bundle-specific callback provided. Return value callable|null A valid callback that is passed the entity or NULL if none is specified. Overrides EntityTypeInterface::getUriCallback File core/lib/Drupal/Core/Entity/EntityType.php, line 778 Class EntityType Provides an implementation of an en

DateFormatter::$languageManager

Language manager for retrieving the default langcode when none is specified. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Datetime/DateFormatter.php, line 40 Class DateFormatter Provides a service to handle various date related functionality. Namespace Drupal\Core\Datetime Code protected $languageManager;

ViewsWizard::$short_title

(optional) The short title used in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsWizard.php, line 40 Class ViewsWizard Defines a Plugin annotation object for views wizard plugins. Namespace Drupal\views\Annotation Code public $short_title = '';

DefaultTableMapping::getFieldColumnName

public DefaultTableMapping::getFieldColumnName(FieldStorageDefinitionInterface $storage_definition, $property_name) Generates a column name for a field property. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. string $property_name: The name of the property. Return value string A string containing a generated column name for a field data table that is unique among all other fields. Overrides TableMappingInterface::getFieldColumn

ViewsQuery::$id

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

UserSession::__construct

public UserSession::__construct(array $values = array()) Constructs a new user session. Parameters array $values: Array of initial values for the user session. File core/lib/Drupal/Core/Session/UserSession.php, line 76 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code public function __construct(array $values = array()) { foreach ($values as $key => $value) { $this->$key = $value; } }

ConfigFactory::$eventDispatcher

An event dispatcher instance to use for configuration events. Type: \Symfony\Component\EventDispatcher\EventDispatcherInterface File core/lib/Drupal/Core/Config/ConfigFactory.php, line 39 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $eventDispatcher;

PlaceholderGeneratorInterface

Defines an interface for turning a render array into a placeholder. This encapsulates logic related to generating placeholders. Makes it possible to determine whether a render array can be placeholdered (it can be reconstructed independently of the request context), whether a render array should be placeholdered (its cacheability meets the conditions), and to create a placeholder. Hierarchy interface \Drupal\Core\Render\PlaceholderGeneratorInterface See also \Drupal\Core\Render\RendererInte

ViewsPager::$id

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