Renderer::$elementInfo

The element info. Type: \Drupal\Core\Render\ElementInfoManagerInterface File core/lib/Drupal/Core/Render/Renderer.php, line 39 Class Renderer Turns a render array into a HTML string. Namespace Drupal\Core\Render Code protected $elementInfo;

UpdateProcessor::$privateKey

The private key. Type: \Drupal\Core\PrivateKey File core/modules/update/src/UpdateProcessor.php, line 78 Class UpdateProcessor Process project update information. Namespace Drupal\update Code protected $privateKey;

PluralTranslation::$singular

The string for the singular case. Type: string File core/lib/Drupal/Core/Annotation/PluralTranslation.php, line 50 Class PluralTranslation Defines an annotation object for strings that require plural forms. Namespace Drupal\Core\Annotation Code protected $singular;

Token::$tokenInfo

Token definitions. An array of token definitions, or NULL when the definitions are not set. Type: array[]|null See also self::setInfo() self::getInfo() self::resetInfo() File core/lib/Drupal/Core/Utility/Token.php, line 91 Class Token Drupal placeholder/token replacement system. Namespace Drupal\Core\Utility Code protected $tokenInfo;

AmbiguousEntityClassException

Exception thrown if multiple entity types exist for an entity class. Hierarchy class \Drupal\Core\Entity\Exception\AmbiguousEntityClassException extends \Exception See also hook_entity_info_alter() File core/lib/Drupal/Core/Entity/Exception/AmbiguousEntityClassException.php, line 10 Namespace Drupal\Core\Entity\Exception Members Name Modifiers Type Description AmbiguousEntityClassException::__construct public function Constructs an AmbiguousEntityClassException.

RegexDirectoryIterator::accept

public RegexDirectoryIterator::accept() Implements \FilterIterator::accept(). File core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php, line 36 Class RegexDirectoryIterator Iterates over files whose names match a regular expression in a directory. Namespace Drupal\Component\FileSystem Code public function accept() { /** @var \SplFileInfo $file_info */ $file_info = $this->getInnerIterator()->current(); return $file_info->isFile() && preg_match($this-&g

ModulesListConfirmForm::buildForm

public ModulesListConfirmForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfirmFormBase::buildForm File core/modules/system/src/Form/ModulesListConfirmForm.php, line 113 Class ModulesListConfirmForm Builds a confirmation form for enabling modules

EntityConstraintViolationList::filterByFields

public EntityConstraintViolationList::filterByFields(array $field_names) Filters this violation list by the given fields. The returned object just has violations attached to the provided fields. When violations should be displayed for a sub-set of visible fields only, this method may be used to filter the set of visible violations first. Parameters string[] $field_names: The names of the fields to filter violations for. Return value $this Overrides EntityConstraintViolationListInterface::filt

_editor_parse_file_uuids

_editor_parse_file_uuids($text) Parse an HTML snippet for any linked file with data-entity-uuid attributes. Parameters string $text: The partial (X)HTML snippet to load. Invalid markup will be corrected on import. Return value array An array of all found UUIDs. File core/modules/editor/editor.module, line 600 Adds bindings for client-side "text editors" to text formats. Code function _editor_parse_file_uuids($text) { $dom = Html::load($text); $xpath = new \DOMXPath($dom); $uuids = arr

Cache::mergeContexts

public static Cache::mergeContexts(array $a = [], array $b = []) Merges arrays of cache contexts and removes duplicates. Parameters array $a: Cache contexts array to merge. array $b: Cache contexts array to merge. Return value string[] The merged array of cache contexts. File core/lib/Drupal/Core/Cache/Cache.php, line 30 Class Cache Helper methods for cache. Namespace Drupal\Core\Cache Code public static function mergeContexts(array $a = [], array $b = []) { $cache_contexts = array