ConfigMapperInterface::getDeleteRoute

public ConfigMapperInterface::getDeleteRoute() Returns the route object for the translation deletion route. Return value \Symfony\Component\Routing\Route The route object for the translation page. File core/modules/config_translation/src/ConfigMapperInterface.php, line 159 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getDeleteRoute();

EntityAccessControlHandler::checkCreateAccess

protected EntityAccessControlHandler::checkCreateAccess(AccountInterface $account, array $context, $entity_bundle = NULL) Performs create access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Session\AccountInterface $account: The user for which to check access. array $context: An array of key-value pairs to pass additional context when needed. string|null $entity_bundle: (optional) The bundle of the enti

Connection::setTarget

public Connection::setTarget($target = NULL) Tells this connection object what its target value is. This is needed for logging and auditing. It's sloppy to do in the constructor because the constructor for child classes has a different signature. We therefore also ensure that this function is only ever called once. Parameters string $target: (optional) The target this connection is for. File core/lib/Drupal/Core/Database/Connection.php, line 403 Class Connection Base Database API class.

EntityAccessControlHandler::resetCache

public EntityAccessControlHandler::resetCache() Clears all cached access checks. Overrides EntityAccessControlHandlerInterface::resetCache File core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php, line 209 Class EntityAccessControlHandler Defines a default implementation for entity access control handler. Namespace Drupal\Core\Entity Code public function resetCache() { $this->accessCache = array(); }

EntityTypeBundleInfo

Provides discovery and retrieval of entity type bundles. Hierarchy class \Drupal\Core\Entity\EntityTypeBundleInfo implements EntityTypeBundleInfoInterface uses UseCacheBackendTrait File core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php, line 15 Namespace Drupal\Core\Entity Members Name Modifiers Type Description EntityTypeBundleInfo::$bundleInfo protected property Static cache of bundle information. EntityTypeBundleInfo::$entityTypeManager protected property T

DbDumpCommand::execute

protected DbDumpCommand::execute(InputInterface $input, OutputInterface $output) Executes the current command. This method is not abstract because you can use this class as a concrete class. In this case, instead of defining the execute() method, you set the code to execute by passing a Closure to the setCode() method. Parameters InputInterface $input An InputInterface instance: OutputInterface $output An OutputInterface instance: Return value null|int null or 0 if everything went fine, or an

ConstraintViolationBuilder::setCode

public ConstraintViolationBuilder::setCode($code) Sets the violation code. Parameters string|null $code The violation code: Return value ConstraintViolationBuilderInterface This builder Overrides ConstraintViolationBuilderInterface::setCode File core/lib/Drupal/Core/TypedData/Validation/ConstraintViolationBuilder.php, line 196 Class ConstraintViolationBuilder Defines a constraint violation builder for the Typed Data validator. Namespace Drupal\Core\TypedData\Validation Code public fu

FieldConfigBase::$default_value

Default field value. The default value is used when an entity is created, either: through an entity creation form; the form elements for the field are prepopulated with the default value. through direct API calls (i.e. $entity->save()); the default value is added if the $entity object provides no explicit entry (actual values or "the field is empty") for the field. The default value is expressed as a numerically indexed array of items, each item being an array of key/value pairs matching t

views_views_query_substitutions

views_views_query_substitutions(ViewExecutable $view) Implements hook_views_query_substitutions(). Makes the following substitutions: Current time. Drupal version. Special language codes; see \Drupal\views\Plugin\views\PluginBase::listLanguages(). File core/modules/views/views.views_execution.inc, line 20 Provides views runtime hooks for views.module. Code function views_views_query_substitutions(ViewExecutable $view) { $substitutions = array( '***CURRENT_VERSION***' => \Drupal::VE

Connection::popCommittableTransactions

protected Connection::popCommittableTransactions() Internal function: commit all the transaction layers that can commit. File core/lib/Drupal/Core/Database/Connection.php, line 1169 Class Connection Base Database API class. Namespace Drupal\Core\Database Code protected function popCommittableTransactions() { // Commit all the committable layers. foreach (array_reverse($this->transactionLayers) as $name => $active) { // Stop once we found an active transaction. if ($ac