ConfigEntityBase::invalidateTagsOnSave

protected ConfigEntityBase::invalidateTagsOnSave($update) Override to never invalidate the entity's cache tag; the config system already invalidates it. Overrides Entity::invalidateTagsOnSave File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 516 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected function invalidateTagsOnSave($update) { Cache::invalidateTags($this->getEntityType()->getListCacheTa

db_add_field

db_add_field($table, $field, $spec, $keys_new = array()) Adds a new field to a table. Parameters $table: Name of the table to be altered. $field: Name of the field to be added. array $spec: The field specification array, as taken from a schema definition. The specification may also contain the key 'initial'; the newly-created field will be set to the value of the key in all rows. This is most useful for creating NOT NULL columns with no default value in existing tables. array $keys_new: (optio

ConfigTranslationDeleteForm::$language

The language of configuration translation. Type: \Drupal\Core\Language\LanguageInterface File core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php, line 54 Class ConfigTranslationDeleteForm Builds a form to delete configuration translation. Namespace Drupal\config_translation\Form Code protected $language;

EditorDialogSave::render

public EditorDialogSave::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/modules/editor/src/Ajax/EditorDialogSave.php, line 35 Class EditorDialogSave Provides an AJAX command for saving the contents of an editor dialog. Namespace Drupal\editor\Ajax Code public function render() { return array( 'command' => 'editorDialogSave', 'values' => $this->values, ); }

ParamConversionEnhancer::enhance

public ParamConversionEnhancer::enhance(array $defaults, Request $request) Update the defaults based on its own data and the request. Parameters array $defaults the getRouteDefaults array.: Request $request the Request instance.: Return value array the modified defaults. Each enhancer MUST return the $defaults but may add or remove values. Overrides RouteEnhancerInterface::enhance File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 41 Class ParamConversionEnhancer

GetUntransformedTextCommand

AJAX command to rerender a formatted text field without any transformation filters. Hierarchy class \Drupal\Core\Ajax\BaseCommand implements CommandInterfaceclass \Drupal\editor\Ajax\GetUntransformedTextCommand File core/modules/editor/src/Ajax/GetUntransformedTextCommand.php, line 11 Namespace Drupal\editor\Ajax Members Name Modifiers Type Description BaseCommand::$command protected property The name of the command. BaseCommand::$data protected property The dat

EntityType::$translatable

Indicates whether entities of this type have multilingual support. Type: bool File core/lib/Drupal/Core/Entity/EntityType.php, line 175 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $translatable = FALSE;

ShortcutSetStorage::assignUser

public ShortcutSetStorage::assignUser(ShortcutSetInterface $shortcut_set, $account) Assigns a user to a particular shortcut set. Parameters \Drupal\shortcut\ShortcutSetInterface $shortcut_set: An object representing the shortcut set. $account: A user account that will be assigned to use the set. Overrides ShortcutSetStorageInterface::assignUser File core/modules/shortcut/src/ShortcutSetStorage.php, line 73 Class ShortcutSetStorage Defines a storage for shortcut_set entities. Namespace

LocalReadOnlyStream::getType

public static LocalReadOnlyStream::getType() Returns the type of stream wrapper. Return value int Overrides LocalStream::getType File core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php, line 21 Class LocalReadOnlyStream Defines a read-only Drupal stream wrapper base class for local files. Namespace Drupal\Core\StreamWrapper Code public static function getType() { return StreamWrapperInterface::READ_VISIBLE | StreamWrapperInterface::LOCAL; }

EditorAccessControlHandler::checkAccess

protected EditorAccessControlHandler::checkAccess(EntityInterface $editor, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for