QueryInterface::execute

public QueryInterface::execute() Execute the query. Return value int|array Returns an integer for count queries or an array of ids. The values of the array are always entity ids. The keys will be revision ids if the entity supports revision and entity ids if not. File core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 192 Class QueryInterface Interface for entity queries. Namespace Drupal\Core\Entity\Query Code public function execute();

Schema::prepareComment

public Schema::prepareComment($comment, $length = NULL) Prepare a table or column comment for database query. Parameters $comment: The comment string to prepare. $length: Optional upper limit on the returned string length. Return value The prepared comment. File core/lib/Drupal/Core/Database/Schema.php, line 638 Class Schema Provides a base implementation for Database Schema. Namespace Drupal\Core\Database Code public function prepareComment($comment, $length = NULL) { // Remove se

Truncate::execute

public Truncate::execute() Executes the TRUNCATE query. Return value Return value is dependent on the database type. Overrides Truncate::execute File core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php, line 15 Class Truncate PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { $this->connection->addSavepoint(); try { $result = parent::execute(); } catch (\Exception $e) {

EntityDefinitionUpdateManagerInterface::DEFINITION_UPDATED

Indicates that a definition has changes. File core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManagerInterface.php, line 56 Class EntityDefinitionUpdateManagerInterface Defines an interface for managing entity definition updates. Namespace Drupal\Core\Entity Code const DEFINITION_UPDATED = 2;

ItemInterface::setDescription

public ItemInterface::setDescription($description) Sets the body of the feed item. Parameters string $description: The body of the feed item. Return value \Drupal\aggregator\ItemInterface The called feed item entity. File core/modules/aggregator/src/ItemInterface.php, line 105 Class ItemInterface Provides an interface defining an aggregator item entity. Namespace Drupal\aggregator Code public function setDescription($description);

ModerationInformation::isModeratedEntity

public ModerationInformation::isModeratedEntity(EntityInterface $entity) Determines if an entity is moderated. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity we may be moderating. Return value bool TRUE if this entity is moderated, FALSE otherwise. Overrides ModerationInformationInterface::isModeratedEntity File core/modules/content_moderation/src/ModerationInformation.php, line 37 Class ModerationInformation General service for moderation-related questions about Enti

FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete

public FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition) Reacts to the deletion of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being deleted. File core/lib/Drupal/Core/Field/FieldStorageDefinitionListenerInterface.php, line 37 Class FieldStorageDefinitionListenerInterface Defines an interface for reacting to field storage definition creati

ImageStyleStorage::clearReplacementId

public ImageStyleStorage::clearReplacementId($name) Clears a replacement ID from the storage. The method clears the value previously stored with ::setReplacementId(). Parameters string $name: The ID of the image style to be replaced. Overrides ImageStyleStorageInterface::clearReplacementId See also \Drupal\image\ImageStyleStorageInterface::setReplacementId() File core/modules/image/src/ImageStyleStorage.php, line 42 Class ImageStyleStorage Storage controller class for "image style" confi

MachineName::getInfo

public MachineName::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Textfield::getInfo File core/lib/Drupal/Core/Render/Element/MachineName.php, line 76 Class MachineName Provides a machine name render element. Namespace Drupal\Core\Render\Element Code public fun

LanguageManager::getDefaultLockedLanguages

public LanguageManager::getDefaultLockedLanguages($weight = 0) Returns a list of the default locked languages. Parameters int $weight: (optional) An integer value that is used as the start value for the weights of the locked languages. Return value \Drupal\Core\Language\LanguageInterface[] An array of language objects. Overrides LanguageManagerInterface::getDefaultLockedLanguages File core/lib/Drupal/Core/Language/LanguageManager.php, line 174 Class LanguageManager Class responsible for