ViewsData::clear

public ViewsData::clear() Clears the class storage and cache. File core/modules/views/src/ViewsData.php, line 329 Class ViewsData Class to manage and lazy load cached views data. Namespace Drupal\views Code public function clear() { $this->storage = array(); $this->allStorage = array(); $this->fullyLoaded = FALSE; Cache::invalidateTags(array('views_data')); }

Html::serialize

public static Html::serialize(\DOMDocument $document) Converts the body of a \DOMDocument back to an HTML snippet. The function serializes the body part of a \DOMDocument back to an (X)HTML snippet. The resulting (X)HTML snippet will be properly formatted to be compatible with HTML user agents. Parameters \DOMDocument $document: A \DOMDocument object to serialize, only the tags below the first <body> node will be converted. Return value string A valid (X)HTML snippet, as a string. File

ViewsEntitySchemaSubscriber::onEntityTypeDelete

public ViewsEntitySchemaSubscriber::onEntityTypeDelete(EntityTypeInterface $entity_type) Reacts to the deletion of the entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type being deleted. Overrides EntityTypeEventSubscriberTrait::onEntityTypeDelete File core/modules/views/src/EventSubscriber/ViewsEntitySchemaSubscriber.php, line 197 Class ViewsEntitySchemaSubscriber Reacts to changes on entity types to update all views entities. Namespace Drupal\

FileStorage::writeable

public FileStorage::writeable() Whether this is a writeable storage. Return value bool Overrides PhpStorageInterface::writeable File core/lib/Drupal/Component/PhpStorage/FileStorage.php, line 200 Class FileStorage Stores the code as regular PHP files. Namespace Drupal\Component\PhpStorage Code public function writeable() { return TRUE; }

Textfield::valueCallback

public static Textfield::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to as

UpdateManager::$updateSettings

The update settings Type: \Drupal\Core\Config\Config File core/modules/update/src/UpdateManager.php, line 26 Class UpdateManager Default implementation of UpdateManagerInterface. Namespace Drupal\update Code protected $updateSettings;

NullRouteMatch::getParameters

public NullRouteMatch::getParameters() Returns the bag of all processed route parameters. Raw URL parameters are processed by the parameter conversion system, which does operations such as converting entity ID parameters to fully-loaded entities. For example, the path node/12345 would have a raw node ID parameter value of 12345, while the processed parameter value would be the corresponding loaded node object. Return value \Symfony\Component\HttpFoundation\ParameterBag The parameter bag. Overr

StringBase::__construct

public StringBase::__construct($values = array()) Constructs a new locale string object. Parameters object|array $values: Object or array with initial values. File core/modules/locale/src/StringBase.php, line 60 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code public function __construct($values = array()) { $this->setValues((array) $values); }

EntityType::getPluralLabel

public EntityType::getPluralLabel() Gets the plural label of the entity type. Return value string The plural label. Overrides EntityTypeInterface::getPluralLabel File core/lib/Drupal/Core/Entity/EntityType.php, line 756 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function getPluralLabel() { if (empty($this->label_plural)) { $lowercase_label = $this->getLowercaseLabel(); $this->label_plural

WidgetBaseInterface::form

public WidgetBaseInterface::form(FieldItemListInterface $items, array &$form, FormStateInterface $form_state, $get_delta = NULL) Creates a form element for a field. If the entity associated with the form is new (i.e., $entity->isNew() is TRUE), the 'default value', if any, is pre-populated. Also allows other modules to alter the form element by implementing their own hooks. Parameters \Drupal\Core\Field\FieldItemListInterface $items: An array of the field values. When creating a new ent