LanguageSelect

Provides a form element for selecting a language. This does not render an actual form element, but always returns the value of the default language. It is then extended by Language module via language_element_info_alter() to provide a proper language selector. Plugin annotation @FormElement("language_select") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTra

ViewsCache::$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/ViewsCache.php, line 39 Class ViewsCache Defines a Plugin annotation object for views cache plugins. Namespace Drupal\views\Annotation Code public $short_title = '';

SelectLanguageForm

Provides the language selection form. Note that hardcoded text provided by this form is not translated. This is because translations are downloaded as a result of submitting this form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Installer\Form\SelectLanguageForm File core/lib/Drup

ComplexDataInterface::getProperties

public ComplexDataInterface::getProperties($include_computed = FALSE) Gets an array of property objects. Parameters bool $include_computed: If set to TRUE, computed properties are included. Defaults to FALSE. Return value \Drupal\Core\TypedData\TypedDataInterface[] An array of property objects implementing the TypedDataInterface, keyed by property name. Throws \Drupal\Core\TypedData\Exception\MissingDataException If the complex data structure is unset and no property can be created. File cor

FormattedDateDiff::getString

public FormattedDateDiff::getString() Return value string File core/lib/Drupal/Core/Datetime/FormattedDateDiff.php, line 49 Class FormattedDateDiff Contains a formatted time difference. Namespace Drupal\Core\Datetime Code public function getString() { return $this->string; }

ConfigFactoryInterface::loadMultiple

public ConfigFactoryInterface::loadMultiple(array $names) Returns a list of configuration objects for the given names. This will pre-load all requested configuration objects does not create new configuration objects. This method always return immutable objects. ConfigFactoryInterface::getEditable() should be used to retrieve mutable configuration objects, one by one. Parameters array $names: List of names of configuration objects. Return value \Drupal\Core\Config\ImmutableConfig[] List of suc

views_ui_contextual_links_suppress

views_ui_contextual_links_suppress($set = NULL) Sets a static variable for controlling whether contextual links are rendered. See also views_ui_contextual_links_view_alter() File core/modules/views_ui/views_ui.module, line 252 Provide structure for the administrative interface to Views. Code function views_ui_contextual_links_suppress($set = NULL) { $suppress = &drupal_static(__FUNCTION__); if (isset($set)) { $suppress = $set; } return $suppress; }

Comment::postSave

public Comment::postSave(EntityStorageInterface $storage, $update = TRUE) Acts on a saved entity before the insert or update hook is invoked. Used after the entity is saved, but before invoking the insert or update hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. bool $u

FileStorage::deleteAll

public FileStorage::deleteAll($prefix = '') Deletes configuration objects whose names start with a given prefix. Given the following configuration object names: node.type.article node.type.page Passing the prefix 'node.type.' will delete the above configuration objects. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration objects that exist will be deleted. Return value bool TRUE on success, FALSE otherwise. Overrides StorageInterface::deleteAll File

NodeViewBuilder

View builder handler for nodes. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityViewBuilder implements EntityHandlerInterface, EntityViewBuilderInterfaceclass \Drupal\node\NodeViewBuilder File core/modules/node/src/NodeViewBuilder.php, line 13 Namespace Drupal\node Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array o