ContentEntityStorageBase::onFieldDefinitionUpdate

public ContentEntityStorageBase::onFieldDefinitionUpdate(FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original) Reacts to the update of a field. Parameters \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition being updated. \Drupal\Core\Field\FieldDefinitionInterface $original: The original field definition; i.e., the definition before the update. Overrides FieldDefinitionListenerInterface::onFieldDefinitionUpdate File core/lib/Drupal/Cor

filter_form_access_denied

filter_form_access_denied($element) Render API callback: Hides the field value of 'text_format' elements. To not break form processing and previews if a user does not have access to a stored text format, the expanded form elements in filter_process_format() are forced to take over the stored #default_values for 'value' and 'format'. However, to prevent the unfiltered, original #value from being displayed to the user, we replace it with a friendly notice here. See also filter_process_format() F

ElementInfoManager::createInstance

public ElementInfoManager::createInstance($plugin_id, array $configuration = array()) Return value \Drupal\Core\Render\Element\ElementInterface Overrides PluginManagerBase::createInstance File core/lib/Drupal/Core/Render/ElementInfoManager.php, line 139 Class ElementInfoManager Provides a plugin manager for element plugins. Namespace Drupal\Core\Render Code public function createInstance($plugin_id, array $configuration = array()) { return parent::createInstance($plugin_id, $configu

DatabaseStorage::deleteAll

public DatabaseStorage::deleteAll($prefix = '') Deletes configuration objects whose names start with a given prefix. Given the following configuration object names: node.type.article node.type.page Passing the prefix 'node.type.' will delete the above configuration objects. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration objects that exist will be deleted. Return value bool TRUE on success, FALSE otherwise. Overrides StorageInterface::deleteAll

PrimitiveInterface::setValue

public PrimitiveInterface::setValue($value) Sets the primitive data value. Parameters mixed|null $value: The value to set in the format as documented for the data type or NULL to unset the data value. File core/lib/Drupal/Core/TypedData/PrimitiveInterface.php, line 26 Class PrimitiveInterface Interface for primitive data. Namespace Drupal\Core\TypedData Code public function setValue($value);

FormStateDecoratorBase::getCleanValueKeys

public FormStateDecoratorBase::getCleanValueKeys() Gets the keys of the form values that will be cleaned. Return value array An array of form value keys to be cleaned. Overrides FormStateInterface::getCleanValueKeys File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 718 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function getCleanValueKeys() { return $this->decoratedFormState->getCleanValueKeys(); }

View::$tag

The "tags" of a view. The tags are stored as a single string, though it is used as multiple tags for example in the views overview. Type: string File core/modules/views/src/Entity/View.php, line 77 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $tag = '';

rdf_help

rdf_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/rdf/rdf.module, line 15 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.rdf': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The RDF module enriches your content with metadata to let other

EditorSelector

Selects an in-place editor (an InPlaceEditor plugin) for a field. Hierarchy class \Drupal\quickedit\EditorSelector implements EditorSelectorInterface File core/modules/quickedit/src/EditorSelector.php, line 13 Namespace Drupal\quickedit Members Name Modifiers Type Description EditorSelector::$alternatives protected property A list of alternative editor plugin IDs, keyed by editor plugin ID. EditorSelector::$editorManager protected property The manager for editor

FormStateDecoratorBase::isSubmitted

public FormStateDecoratorBase::isSubmitted() Determines if the form has been submitted. Return value bool TRUE if the form has been submitted, FALSE otherwise. Overrides FormStateInterface::isSubmitted File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 324 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function isSubmitted() { return $this->decoratedFormState->isSubmitted(); }