db_and

db_and() Returns a new DatabaseCondition, set to "AND" all conditions together. Return value \Drupal\Core\Database\Query\Condition A new Condition object, set to "AND" all conditions together. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a \Drupal\Core\Database\Query\Condition object, specifying an AND conjunction: new Condition('AND'); See also \Drupal\Core\Database\Query\Condition Related topics Database abstraction layer Allow the use of different database serv

FormState::getSubmitHandlers

public FormState::getSubmitHandlers() Gets the submit handlers. Return value array An array of submit handlers. Overrides FormStateInterface::getSubmitHandlers File core/lib/Drupal/Core/Form/FormState.php, line 750 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function getSubmitHandlers() { return $this->submit_handlers; }

NodeListBuilder::buildRow

public NodeListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/node/src/NodeListBuilder.php, line 99 Class NodeListBuilder Defines a class to build a listing of node ent

FormStateInterface::set

public FormStateInterface::set($property, $value) Sets a value to an arbitrary property. Parameters string|array $property: Properties are often stored as multi-dimensional associative arrays. If $property is a string, it will use $storage[$property] = $value. If $property is an array, each element of the array will be used as a nested key. If $property = ['foo', 'bar'] it will use $storage['foo']['bar'] = $value. mixed $value: The value to set. Return value $this File core/lib/Drupal/Core/Fo

breakpoint_themes_installed

breakpoint_themes_installed($theme_list) Implements hook_themes_installed() File core/modules/breakpoint/breakpoint.module, line 42 Manage breakpoints and breakpoint groups for responsive designs. Code function breakpoint_themes_installed($theme_list) { \Drupal::service('breakpoint.manager')->clearCachedDefinitions(); }

ConfigManagerInterface::createSnapshot

public ConfigManagerInterface::createSnapshot(StorageInterface $source_storage, StorageInterface $snapshot_storage) Creates a configuration snapshot following a successful import. Parameters \Drupal\Core\Config\StorageInterface $source_storage: The storage to synchronize configuration from. \Drupal\Core\Config\StorageInterface $snapshot_storage: The storage to synchronize configuration to. File core/lib/Drupal/Core/Config/ConfigManagerInterface.php, line 81 Class ConfigManagerInterface Pr

FieldStorageDefinitionInterface::isTranslatable

public FieldStorageDefinitionInterface::isTranslatable() Returns whether the field supports translation. Return value bool TRUE if the field supports translation. File core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 87 Class FieldStorageDefinitionInterface Defines an interface for entity field storage definitions. Namespace Drupal\Core\Field Code public function isTranslatable();

EntityDisplayFormBase::reduceOrder

public EntityDisplayFormBase::reduceOrder($array, $a) Determines the rendering order of an array representing a tree. Callback for array_reduce() within \Drupal\field_ui\Form\EntityDisplayFormBase::tablePreRender(). Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 700 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code public function reduceOrder($

MessageViewBuilder::buildComponents

public MessageViewBuilder::buildComponents(array &$build, array $entities, array $displays, $view_mode) Builds the component fields and properties of a set of entities. Parameters &$build: The renderable array representing the entity content. \Drupal\Core\Entity\EntityInterface[] $entities: The entities whose content is being built. \Drupal\Core\Entity\Display\EntityViewDisplayInterface[] $displays: The array of entity view displays holding the display options configured for the entity

EntityTypeInterface::setUriCallback

public EntityTypeInterface::setUriCallback($callback) Sets a callable to use to provide the entity URI. Parameters callable $callback: A callback to use to provide a URI for the entity. Return value $this File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 676 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function setUriCallback($callback);