ConfigEntityMapper::$entityType

Configuration entity type name. Type: string File core/modules/config_translation/src/ConfigEntityMapper.php, line 35 Class ConfigEntityMapper Configuration mapper for configuration entities. Namespace Drupal\config_translation Code protected $entityType;

DiffFormatter::_lines

protected DiffFormatter::_lines($lines, $prefix = ' ', $color = 'white') Overrides DiffFormatter::_lines File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 86 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code protected function _lines($lines, $prefix = ' ', $color = 'white') { }

LanguageNegotiator::purgeConfiguration

LanguageNegotiator::purgeConfiguration() Resave the configuration to purge missing negotiation methods. Overrides LanguageNegotiatorInterface::purgeConfiguration File core/modules/language/src/LanguageNegotiator.php, line 277 Class LanguageNegotiator Class responsible for performing language negotiation. Namespace Drupal\language Code function purgeConfiguration() { // Ensure that we are getting the defined language negotiation information. // An invocation of \Drupal\Core\Extensio

EntityType::$uri_callback

A callable that can be used to provide the entity URI. Type: callable|null File core/lib/Drupal/Core/Entity/EntityType.php, line 212 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $uri_callback = NULL;

SetCustomize::form

public SetCustomize::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/shortcut/src/Form/SetCustomize.php, line 24 Class SetCustomize Builds the shortcut set customize form. Namespace Drupal\shortcut\Form Code public function form(array $form, FormStateInterface $form_state) { $form = parent::form($fo

ConfigEntityMapper::__construct

public ConfigEntityMapper::__construct($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $translation_manager, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager) Constructs a ConfigEntityMapper. Parameters string $plugin_id: The config mapper

NodeRevisionAccessCheck

Provides an access checker for node revisions. Hierarchy class \Drupal\node\Access\NodeRevisionAccessCheck implements AccessInterface Related topics Node access rights The node access system determines who can do what to which nodes. File core/modules/node/src/Access/NodeRevisionAccessCheck.php, line 17 Namespace Drupal\node\Access Members Name Modifiers Type Description NodeRevisionAccessCheck::$access protected property A static cache of access checks. NodeRevision

NestedArray::mergeDeepArray

public static NestedArray::mergeDeepArray(array $arrays, $preserve_integer_keys = FALSE) Merges multiple arrays, recursively, and returns the merged array. This function is equivalent to NestedArray::mergeDeep(), except the input arrays are passed as a single array parameter rather than a variable parameter list. The following are equivalent: NestedArray::mergeDeep($a, $b); NestedArray::mergeDeepArray(array($a, $b)); The following are also equivalent: call_user_func_array('NestedArray::mer

Connection::popTransaction

public Connection::popTransaction($name) Decreases the depth of transaction nesting. If we pop off the last transaction layer, then we either commit or roll back the transaction as necessary. If no transaction is active, we return because the transaction may have manually been rolled back. Parameters string $name: The name of the savepoint. Throws \Drupal\Core\Database\TransactionNoActiveException \Drupal\Core\Database\TransactionCommitFailedException See also \Drupal\Core\Database\Transacti

ApcuBackend::$sitePrefix

Prefix for all keys in the storage that belong to this site. Type: string File core/lib/Drupal/Core/Cache/ApcuBackend.php, line 22 Class ApcuBackend Stores cache items in the Alternative PHP Cache User Cache (APCu). Namespace Drupal\Core\Cache Code protected $sitePrefix;