ConfigImporter::$errors

A log of any errors encountered. If errors are logged during the validation event the configuration synchronization will not occur. If errors occur during an import then best efforts are made to complete the synchronization. Type: array File core/lib/Drupal/Core/Config/ConfigImporter.php, line 138 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected $errors = array();

_batch_queue

_batch_queue($batch_set) Returns a queue object for a batch set. Parameters $batch_set: The batch set. Return value The queue object. Related topics Batch operations Creates and processes batch operations. File core/includes/form.inc, line 932 Functions for form and batch generation and processing. Code function _batch_queue($batch_set) { static $queues; if (!isset($queues)) { $queues = array(); } if (isset($batch_set['queue'])) { $name = $batch_set['queue']['name'];

ConfigurableLanguageManagerInterface::getLanguageConfigOverrideStorage

public ConfigurableLanguageManagerInterface::getLanguageConfigOverrideStorage($langcode) Gets a language configuration override storage object. Parameters string $langcode: The language code for the override. Return value \Drupal\Core\Config\StorageInterface $storage A storage object to use for reading and writing the configuration override. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 84 Class ConfigurableLanguageManagerInterface Common interface for lan

ContentTranslationMetadataWrapperInterface::getSource

public ContentTranslationMetadataWrapperInterface::getSource() Retrieves the source language for this translation. Return value string The source language code. File core/modules/content_translation/src/ContentTranslationMetadataWrapperInterface.php, line 21 Class ContentTranslationMetadataWrapperInterface Common interface for content translation metadata wrappers. Namespace Drupal\content_translation Code public function getSource();

CsrfRequestHeaderAccessCheck::access

public CsrfRequestHeaderAccessCheck::access(Request $request, AccountInterface $account) Checks access. Parameters \Symfony\Component\HttpFoundation\Request $request: The request object. \Drupal\Core\Session\AccountInterface $account: The currently logged in account. Return value \Drupal\Core\Access\AccessResultInterface The access result. File core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php, line 89 Class CsrfRequestHeaderAccessCheck Access protection against CSRF attacks.

MemoryBackend::register

public MemoryBackend::register($name, $window = 3600, $identifier = NULL) Registers an event for the current visitor to the flood control mechanism. Parameters string $name: The name of an event. To prevent unintended name clashes, it is recommended to use the module name first in the event name, optionally followed by a dot and the actual event name (e.g. "mymodule.my_event"). int $window: (optional) Number of seconds before this event expires. Defaults to 3600 (1 hour). Typically uses the sa

Term::getFormat

public Term::getFormat() Gets the text format name for the term's description. Return value string The text format name. Overrides TermInterface::getFormat File core/modules/taxonomy/src/Entity/Term.php, line 188 Class Term Defines the taxonomy term entity. Namespace Drupal\taxonomy\Entity Code public function getFormat() { return $this->get('description')->format; }

checkboxes.html.twig

Default theme implementation for a 'checkboxes' #type form element. Available variables attributes: A list of HTML attributes for the wrapper element. children: The rendered checkboxes. See also template_preprocess_checkboxes() File core/modules/system/templates/checkboxes.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

ParamConversionEnhancer::onException

public ParamConversionEnhancer::onException(GetResponseForExceptionEvent $event) Catches failed parameter conversions and throw a 404 instead. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 77 Class ParamConversionEnhancer Provides a route enhancer that handles parameter conversion. Namespace Drupal\Core\Routing\Enhancer Code public function onException(GetResponseForExcep

responsive-image.html.twig

Default theme implementation of a responsive image. Available variables: sources: The attributes of the <source> tags for this <picture> tag. img_element: The controlling image, with the fallback image in srcset. output_image_tag: Whether or not to output an <img> tag instead of a <picture> tag. See also template_preprocess() template_preprocess_responsive_image() File core/modules/responsive_image/templates/responsive-image.html.twig Related topics Theme system