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();

PathBasedBreadcrumbBuilder::getRequestForPath

protected PathBasedBreadcrumbBuilder::getRequestForPath($path, array $exclude) Matches a path in the router. Parameters string $path: The request path with a leading slash. array $exclude: An array of paths or system paths to skip. Return value \Symfony\Component\HttpFoundation\Request A populated request object or NULL if the path couldn't be matched. File core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 184 Class PathBasedBreadcrumbBuilder Class to define the menu_link brea

HighlightCommand::render

public HighlightCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/views/src/Ajax/HighlightCommand.php, line 34 Class HighlightCommand Provides an AJAX command for highlighting a certain new piece of html. Namespace Drupal\views\Ajax Code public function render() { return array( 'command' => 'viewsHighlight', 'selector' => $this->selector, ); }

FieldStorageDefinitionListener::$entityTypeManager

The entity type manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/Field/FieldStorageDefinitionListener.php, line 22 Class FieldStorageDefinitionListener Reacts to field storage definition CRUD on behalf of the Entity system. Namespace Drupal\Core\Field Code protected $entityTypeManager;