AlterableInterface::hasTag

public AlterableInterface::hasTag($tag) Determines if a given query has a given tag. Parameters $tag: The tag to check. Return value TRUE if this query has been marked with this tag, FALSE otherwise. File core/lib/Drupal/Core/Database/Query/AlterableInterface.php, line 36 Class AlterableInterface Interface for a query that can be manipulated via an alter hook. Namespace Drupal\Core\Database\Query Code public function hasTag($tag);

ImageEffectInterface::getDerivativeExtension

public ImageEffectInterface::getDerivativeExtension($extension) Returns the extension the derivative would have have after applying this image effect. Parameters string $extension: The file extension the derivative has before applying. Return value string The file extension after applying. File core/modules/image/src/ImageEffectInterface.php, line 62 Class ImageEffectInterface Defines the interface for image effects. Namespace Drupal\image Code public function getDerivativeExtension(

EntityDisplayBase::preSave

public EntityDisplayBase::preSave(EntityStorageInterface $storage, $update = TRUE) Acts on an entity before the presave hook is invoked. Used before the entity is saved and before invoking the presave 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. This is different from its counterpart in the Field API, FieldItemListInterface::preSave(), which is fired on all

WidgetBase::__construct

public WidgetBase::__construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings) Constructs a WidgetBase object. Parameters array $plugin_id: The plugin_id for the widget. mixed $plugin_definition: The plugin implementation definition. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The definition of the field to which the widget is associated. array $settings: The widget settings. array $third_party_setting

Filter::$status

Whether this filter is enabled or disabled by default. Type: bool (optional) File core/modules/filter/src/Annotation/Filter.php, line 69 Class Filter Defines an filter annotation object. Namespace Drupal\filter\Annotation Code public $status = FALSE;

content_translation_enable_widget

content_translation_enable_widget($entity_type, $bundle, array &$form, FormStateInterface $form_state) Returns a widget to enable content translation per entity bundle. Backward compatibility layer to support entities not using the language configuration form element. @todo Remove once all core entities have language configuration. Parameters string $entity_type: The type of the entity being configured for translation. string $bundle: The bundle of the entity being configured for translati

LanguageConfigFactoryOverrideInterface

Defines the interface for a configuration factory language override object. Hierarchy interface \Drupal\Core\Config\ConfigFactoryOverrideInterfaceinterface \Drupal\language\Config\LanguageConfigFactoryOverrideInterface File core/modules/language/src/Config/LanguageConfigFactoryOverrideInterface.php, line 12 Namespace Drupal\language\Config Members Name Modifiers Type Description ConfigFactoryOverrideInterface::createConfigObject public function Creates a configuration o

Block::getWeight

public Block::getWeight() Returns the weight of this block (used for sorting). Return value int The block weight. Overrides BlockInterface::getWeight File core/modules/block/src/Entity/Block.php, line 185 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code public function getWeight() { return $this->weight; }

QueryFactory::get

public QueryFactory::get(EntityTypeInterface $entity_type, $conjunction) Instantiates an entity query for a given entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. string $conjunction: The operator to use to combine conditions: 'AND' or 'OR'. Return value \Drupal\Core\Entity\Query\QueryInterface An entity query for a specific configuration entity type. Overrides QueryFactoryInterface::get File core/lib/Drupal/Core/Config/Entity/Query/Que

Entity::urlRouteParameters

protected Entity::urlRouteParameters($rel) Gets an array of placeholders for this entity. Individual entity classes may override this method to add additional placeholders if desired. If so, they should be sure to replicate the property caching logic. Parameters string $rel: The link relationship type, for example: canonical or edit-form. Return value array An array of URI placeholders. File core/lib/Drupal/Core/Entity/Entity.php, line 304 Class Entity Defines a base entity class. Name