OutputStrategyInterface

Provides an output strategy that formats HTML strings for a given context. Output strategies assist in transforming HTML strings into strings that are appropriate for a given context (e.g. plain-text), through performing the relevant formatting. No sanitization is applied. Hierarchy interface \Drupal\Component\Render\OutputStrategyInterface File core/lib/Drupal/Component/Render/OutputStrategyInterface.php, line 12 Namespace Drupal\Component\Render Members Name Modifiers Type Des

UpdateManager::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/update/src/UpdateManager.php, line 68 Class UpdateManager Default implementation of UpdateManagerInterface. Namespace Drupal\update Code protected $themeHandler;

EntityTypeInterface::getBundleOf

public EntityTypeInterface::getBundleOf() Gets the entity type for which this entity provides bundles. It can be used by other modules to act accordingly; for example, the Field UI module uses it to add operation links to manage fields and displays. Return value string|null The entity type for which this entity provides bundles, or NULL if does not provide bundles for another entity type. File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 546 Class EntityTypeInterface Provides

Url::fromEntityUri

protected static Url::fromEntityUri(array $uri_parts, array $options, $uri) Create a new Url object for entity URIs. Parameters array $uri_parts: Parts from an URI of the form entity:{entity_type}/{entity_id} as from parse_url(). array $options: An array of options, see \Drupal\Core\Url::fromUri() for details. string $uri: The original entered URI. Return value \Drupal\Core\Url A new Url object for an entity's canonical route. Throws \InvalidArgumentException Thrown if the entity URI is inva

ThemeHandler::setDefault

public ThemeHandler::setDefault($name) Sets a new default theme. Parameters string $theme: The new default theme. Return value $this Overrides ThemeHandlerInterface::setDefault File core/lib/Drupal/Core/Extension/ThemeHandler.php, line 147 Class ThemeHandler Default theme handler using the config system to store installation statuses. Namespace Drupal\Core\Extension Code public function setDefault($name) { $list = $this->listInfo(); if (!isset($list[$name])) { throw new \I

BaseFieldDefinition::getUniqueStorageIdentifier

public BaseFieldDefinition::getUniqueStorageIdentifier() Returns a unique identifier for the field. Return value string Overrides FieldStorageDefinitionInterface::getUniqueStorageIdentifier File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 711 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Core\Field Code public function getUniqueStorageIdentifier() { return $this->getTargetEntityTypeId() . '-' . $this->getName(); }

Container::processContainer

public static Container::processContainer(&$element, FormStateInterface $form_state, &$complete_form) Processes a container element. Parameters array $element: An associative array containing the properties and children of the container. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $complete_form: The complete form structure. Return value array The processed element. File core/lib/Drupal/Core/Render/Element/Container.php, line 74 Class Con

LocalStream::rmdir

public LocalStream::rmdir($uri, $options) Support for rmdir(). Parameters string $uri: A string containing the URI to the directory to delete. int $options: A bit mask of STREAM_REPORT_ERRORS. Return value bool TRUE if directory was successfully removed. Overrides PhpStreamWrapperInterface::rmdir See also http://php.net/manual/streamwrapper.rmdir.php File core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 471 Class LocalStream Defines a Drupal stream wrapper base class for local f

form-element-label.html.twig

Default theme implementation for a form element label. Available variables: title: The label's text. title_display: Elements title_display setting. required: An indicator for whether the associated form element is required. attributes: A list of HTML attributes for the label. See also template_preprocess_form_element_label() File core/modules/system/templates/form-element-label.html.twig Related topics Theme system overview Functions and templates for the user interface that themes ca

Query::$nextPlaceholder

The placeholder counter. File core/lib/Drupal/Core/Database/Query/Query.php, line 52 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code protected $nextPlaceholder = 0;