Select::orderRandom

public Select::orderRandom() Orders the result set by a random value. This may be stacked with other orderBy() calls. If so, the query will order by each specified field, including this one, in the order called. Although this method may be called multiple times on the same query, doing so is not particularly useful. Note: The method used by most drivers may not scale to very large result sets. If you need to work with extremely large data sets, you may create your own database driver by subclas

Menu::$locked

The locked status of this menu. Type: bool File core/modules/system/src/Entity/Menu.php, line 58 Class Menu Defines the Menu configuration entity class. Namespace Drupal\system\Entity Code protected $locked = FALSE;

ContentEntityBase::getFieldDefinition

public ContentEntityBase::getFieldDefinition($name) Gets the definition of a contained field. Parameters string $name: The name of the field. Return value \Drupal\Core\Field\FieldDefinitionInterface|null The definition of the field or null if the field does not exist. Overrides FieldableEntityInterface::getFieldDefinition File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 552 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namesp

book-node-export-html.html.twig

Default theme implementation for a single node in a printer-friendly outline. Available variables: node: Fully loaded node. depth: Depth of the current node inside the outline. title: Node title. content: Node content. children: All the child nodes recursively rendered through this file. See also template_preprocess_book_node_export_html() File core/modules/book/templates/book-node-export-html.html.twig Related topics Theme system overview Functions and templates for the user interfa

ViewsExposedForm::buildForm

public ViewsExposedForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/views/src/Form/ViewsExposedForm.php, line 52 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code

Tar

Defines a archiver implementation for .tar files. Hierarchy class \Drupal\Core\Archiver\Tar implements ArchiverInterface File core/lib/Drupal/Core/Archiver/Tar.php, line 8 Namespace Drupal\Core\Archiver Members Name Modifiers Type Description Tar::$tar protected property The underlying ArchiveTar instance that does the heavy lifting. Tar::add public function Adds the specified file or directory to the archive. Overrides ArchiverInterface::add Tar::extract pub

Entity::preDelete

public static Entity::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 EntityInterface::preDelete File core/lib/Drupal/Core/Entity/Entity.php, line 435 Class Entity

ViewExecutable::usePager

public ViewExecutable::usePager() Determines if the view uses a pager. Return value bool TRUE if the view uses a pager, FALSE otherwise. File core/modules/views/src/ViewExecutable.php, line 624 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function usePager() { if (!empty($this->pager)) { return $this->pager->usePager(); } }

ConfigImporterException

Exception thrown when a config import fails. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigImporterException File core/lib/Drupal/Core/Config/ConfigImporterException.php, line 8 Namespace Drupal\Core\Config Members

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