ConfigSync::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/config/src/Form/ConfigSync.php, line 88 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $themeHandler;

PhpStreamWrapperInterface::stream_cast

public PhpStreamWrapperInterface::stream_cast($cast_as) Retrieve the underlying stream resource. This method is called in response to stream_select(). Parameters int $cast_as: Can be STREAM_CAST_FOR_SELECT when stream_select() is calling stream_cast() or STREAM_CAST_AS_STREAM when stream_cast() is called for other uses. Return value resource|false The underlying stream resource or FALSE if stream_select() is not supported. See also stream_select() http://php.net/manual/streamwrapper.stream-c

EntityInterface::getTypedData

public EntityInterface::getTypedData() Gets a typed data object for this entity object. The returned typed data object wraps this entity and allows dealing with entities based on the generic typed data API. Return value \Drupal\Core\TypedData\ComplexDataInterface The typed data object for this entity. See also \Drupal\Core\TypedData\TypedDataInterface File core/lib/Drupal/Core/Entity/EntityInterface.php, line 467 Class EntityInterface Defines a common interface for all entity objects.

Color::preRenderColor

public static Color::preRenderColor($element) Prepares a #type 'color' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #title, #value, #description, #attributes. Return value array The $element with prepared variables ready for input.html.twig. File core/lib/Drupal/Core/Render/Element/Color.php, line 81 Class Color Provides a form element for choosing a color. Namespace Drupal\Core\Render\El

EntityListBuilder::buildRow

public EntityListBuilder::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. See also \Drupal\Core\Entity\EntityListBuilder::render() File core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 184 Class EntityListBuilder Defines a generic implementation to build a listing of entities. Name

MemoryStorage::has

public MemoryStorage::has($key) Returns whether a given key exists in the store. Parameters string $key: The key to check. Return value bool TRUE if the key exists, FALSE otherwise. Overrides KeyValueStoreInterface::has File core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php, line 20 Class MemoryStorage Defines a default key/value store implementation. Namespace Drupal\Core\KeyValueStore Code public function has($key) { return array_key_exists($key, $this->data); }

PageVariantInterface::setMainContent

public PageVariantInterface::setMainContent(array $main_content) Sets the main content for the page being rendered. Parameters array $main_content: The render array representing the main content. Return value $this File core/lib/Drupal/Core/Display/PageVariantInterface.php, line 32 Class PageVariantInterface Provides an interface for PageDisplayVariant plugins. Namespace Drupal\Core\Display Code public function setMainContent(array $main_content);

Tableselect::getInfo

public Tableselect::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 Table::getInfo File core/lib/Drupal/Core/Render/Element/Tableselect.php, line 58 Class Tableselect Provides a form element for a table with radios or checkboxes in left column. Namespace Drupal\Co

taxonomy_node_insert

taxonomy_node_insert(EntityInterface $node) Implements hook_ENTITY_TYPE_insert() for node entities. Related topics Taxonomy indexing Functions to maintain taxonomy indexing. File core/modules/taxonomy/taxonomy.module, line 487 Enables the organization of content into categories. Code function taxonomy_node_insert(EntityInterface $node) { // Add taxonomy index entries for the node. taxonomy_build_node_index($node); }

AssetOptimizerInterface::optimize

public AssetOptimizerInterface::optimize(array $asset) Optimizes an asset. Parameters array $asset: An asset. Return value string The optimized asset's contents. File core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php, line 19 Class AssetOptimizerInterface Interface defining a service that optimizes an asset. Namespace Drupal\Core\Asset Code public function optimize(array $asset);