SelectInterface::isPrepared

public SelectInterface::isPrepared() Indicates if preExecute() has already been called on that object. Return value TRUE is this query has already been prepared, FALSE otherwise. File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 504 Class SelectInterface Interface definition for a Select Query object. Namespace Drupal\Core\Database\Query Code public function isPrepared();

TwigTransTokenParser::getTag

public TwigTransTokenParser::getTag() File core/lib/Drupal/Core/Template/TwigTransTokenParser.php, line 72 Class TwigTransTokenParser A class that defines the Twig 'trans' token parser for Drupal. Namespace Drupal\Core\Template Code public function getTag() { return 'trans'; }

TwigExtension::bubbleArgMetadata

protected TwigExtension::bubbleArgMetadata($arg) Bubbles Twig template argument's cacheability & attachment metadata. For example: a generated link or generated URL object is passed as a Twig template argument, and its bubbleable metadata must be bubbled. Parameters mixed $arg: A Twig template argument that is about to be printed. See also \Drupal\Core\GeneratedLink \Drupal\Core\GeneratedUrl \Drupal\Core\Theme\ThemeManager::render() \Drupal\Core\Render\RendererInterface::render() File cor

MenuListBuilder::buildRow

public MenuListBuilder::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/menu_ui/src/MenuListBuilder.php, line 31 Class MenuListBuilder Defines a class to build a listing of menu

SerializationInterface::encode

public static SerializationInterface::encode($data) Encodes data into the serialization format. Parameters mixed $data: The data to encode. Return value string The encoded data. File core/lib/Drupal/Component/Serialization/SerializationInterface.php, line 19 Class SerializationInterface Defines an interface for serialization formats. Namespace Drupal\Component\Serialization Code public static function encode($data);

DatabaseFileUsageBackend::delete

public DatabaseFileUsageBackend::delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) Removes a record to indicate that a module is no longer using a file. Parameters \Drupal\file\FileInterface $file: A file entity. string $module: The name of the module using the file. string $type: (optional) The type of the object that contains the referenced file. May be omitted if all module references to a file are being deleted. Defaults to NULL. int $id: (optional) The unique, num

PoMetadataInterface::setLangcode

public PoMetadataInterface::setLangcode($langcode) Set language code. Parameters string $langcode: Language code string. File core/lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 19 Class PoMetadataInterface Methods required for both reader and writer implementations. Namespace Drupal\Component\Gettext Code public function setLangcode($langcode);

ConfigEntityTypeInterface::getLookupKeys

public ConfigEntityTypeInterface::getLookupKeys() Gets the keys that are available for fast lookup. Return value string[] The list of lookup keys. File core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php, line 80 Class ConfigEntityTypeInterface Provides an interface for a configuration entity type and its metadata. Namespace Drupal\Core\Config\Entity Code public function getLookupKeys();

SelectInterface::orderRandom

public SelectInterface::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 b

SqlContentEntityStorageSchema::getEntitySchemaTables

protected SqlContentEntityStorageSchema::getEntitySchemaTables() Gets a list of entity type tables. Return value array A list of entity type tables, keyed by table key. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 566 Class SqlContentEntityStorageSchema Defines a schema handler that supports revisionable, translatable entities. Namespace Drupal\Core\Entity\Sql Code protected function getEntitySchemaTables() { return array_filter(array( 'base_table