Select::distinct

public Select::distinct($distinct = TRUE) Sets this query to be DISTINCT. Parameters $distinct: TRUE to flag this query DISTINCT, FALSE to disable it. Return value \Drupal\Core\Database\Query\SelectInterface The called object. Overrides SelectInterface::distinct File core/lib/Drupal/Core/Database/Query/Select.php, line 499 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function distinct($distinct = TRUE) { $this->distinct = $di

template_preprocess_link_formatter_link_separate

template_preprocess_link_formatter_link_separate(&$variables) Prepares variables for separated link field templates. This template outputs a separate title and link. Default template: link-formatter-link-separate.html.twig. Parameters array $variables: An associative array containing: title: (optional) A descriptive or alternate title for the link, which may be different than the actual link text. url_title: The anchor text for the link. url: A \Drupal\Core\Url object. File core/modul

EntityDisplayBase::calculateDependencies

public EntityDisplayBase::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 250 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code public function calculateDependencies() { parent::ca

FormBase::configFactory

protected FormBase::configFactory() Gets the config factory for this form. When accessing configuration values, use $this->config(). Only use this when the config factory needs to be manipulated directly. Return value \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Form/FormBase.php, line 120 Class FormBase Provides a base class for forms. Namespace Drupal\Core\Form Code protected function configFactory() { if (!$this->configFactory) { $this->config

SystemMenuOffCanvasForm::$entity

Type: \Drupal\system\MenuInterface File core/modules/outside_in/src/Form/SystemMenuOffCanvasForm.php, line 38 Class SystemMenuOffCanvasForm The off-canvas form handler for the SystemMenuBlock. Namespace Drupal\outside_in\Form Code protected $entity;

AssetDumper::dump

public AssetDumper::dump($data, $file_extension) The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes. Overrides AssetDumperInterface::dump File core/lib/Drupal/Core/Asset/AssetDumper.php, line 19 Class AssetDumper Dumps a CSS or JavaScript asset. Namespace Drupal\Core\Asset Code public function dump($data, $file_extension) { // Prefix filename

CommentManagerInterface::getFields

public CommentManagerInterface::getFields($entity_type_id) Utility function to return an array of comment fields. Parameters string $entity_type_id: The content entity type to which the comment fields are attached. Return value array An array of comment field map definitions, keyed by field name. Each value is an array with two entries: type: The field type. bundles: The bundles in which the field appears, as an array with entity types as keys and the array of bundle names as values. See

LocaleEvents::SAVE_TRANSLATION

The name of the event fired when saving a translated string. This event allows you to perform custom actions whenever a translated string is saved. See also \Drupal\locale\EventSubscriber\LocaleTranslationCacheTag Related topics Events Overview of event dispatch and subscribing File core/modules/locale/src/LocaleEvents.php, line 22 Class LocaleEvents Defines events for locale translation. Namespace Drupal\locale Code const SAVE_TRANSLATION = 'locale.save_translation';

ImageEffectBase::getUuid

public ImageEffectBase::getUuid() Returns the unique ID representing the image effect. Return value string The image effect ID. Overrides ImageEffectInterface::getUuid File core/modules/image/src/ImageEffectBase.php, line 108 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code public function getUuid() { return $this->uuid; }

EntityListBuilder::load

public EntityListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides EntityListBuilderInterface::load File core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 79 Class EntityListBuilder Defines a generic implementation to build a list