TablesInterface::addField

public TablesInterface::addField($field, $type, $langcode) Adds a field to a database query. Parameters string $field: If it doesn't contain a dot, then an entity base field name. If it contains a dot, then either field name dot field column or field name dot delta dot field column. Delta can be a numeric value or a "%delta" for any value. string $type: Join type, can either be INNER or LEFT. string $langcode: The language code the field values are to be queried in. Return value string The re

FILE_EXISTS_ERROR

Flag for dealing with existing files: Do nothing and return FALSE. Related topics File interface Common file handling functions. File core/includes/file.inc, line 63 API for handling file uploads and server file management. Code const FILE_EXISTS_ERROR = 2;

ViewUI::hasLinkTemplate

public ViewUI::hasLinkTemplate($key) Indicates if a link template exists for a given key. Parameters string $key: The link type. Return value bool TRUE if the link template exists, FALSE otherwise. Overrides EntityInterface::hasLinkTemplate File core/modules/views_ui/src/ViewUI.php, line 1177 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function hasLinkTemplate($key) { return $this->storage->hasLinkTemplate($key); }

StaticMenuLinkOverrides::$configFactory

The config factory object. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php, line 35 Class StaticMenuLinkOverrides Defines an implementation of the menu link override using a config file. Namespace Drupal\Core\Menu Code protected $configFactory;

SelectInterface::groupBy

public SelectInterface::groupBy($field) Groups the result set by the specified field. Parameters $field: The field on which to group. This should be the field as aliased. Return value \Drupal\Core\Database\Query\SelectInterface The called object. File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 488 Class SelectInterface Interface definition for a Select Query object. Namespace Drupal\Core\Database\Query Code public function groupBy($field);

_update_manager_extract_directory

_update_manager_extract_directory($create = TRUE) Returns the directory where update archive files should be extracted. Parameters $create: (optional) Whether to attempt to create the directory if it does not already exist. Defaults to TRUE. Return value The full path to the temporary directory where update file archives should be extracted. File core/modules/update/update.module, line 671 Handles updates of Drupal core and contributed projects. Code function _update_manager_extract_directo

MenuLinkContent::preDelete

public static MenuLinkContent::preDelete(EntityStorageInterface $storage, array $entities) Acts on entities before they are deleted and before hooks are invoked. Used before the entities are deleted and before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides Entity::preDelete File core/modules/menu_link_content/src/Entity/MenuLinkContent.php, line

Term::getWeight

public Term::getWeight() Gets the weight of this term. Return value int The weight of the term. Overrides TermInterface::getWeight File core/modules/taxonomy/src/Entity/Term.php, line 218 Class Term Defines the taxonomy term entity. Namespace Drupal\taxonomy\Entity Code public function getWeight() { return $this->get('weight')->value; }

ConfigSubscriber::$languageNegotiator

The language negotiator. Type: \Drupal\language\LanguageNegotiatorInterface File core/modules/language/src/EventSubscriber/ConfigSubscriber.php, line 47 Class ConfigSubscriber Deletes the container if default language has changed. Namespace Drupal\language\EventSubscriber Code protected $languageNegotiator;

SelectInterface::orderBy

public SelectInterface::orderBy($field, $direction = 'ASC') Orders the result set by a given field. If called multiple times, the query will order by each specified field in the order this method is called. If the query uses DISTINCT or GROUP BY conditions, fields or expressions that are used for the order must be selected to be compatible with some databases like PostgreSQL. The PostgreSQL driver can handle simple cases automatically but it is suggested to explicitly specify them. Additionally