StorageComparerInterface::getChangelist

public StorageComparerInterface::getChangelist($op = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) Gets the list of differences to import. Parameters string $op: (optional) A change operation. Either delete, create or update. If supplied the returned list will be limited to this operation. string $collection: (optional) The collection to get the changelist for. Defaults to the default collection. Return value array An array of config changes that are yet to be imported. File core/

RouteBuildEvent

Represents route building information as event. Hierarchy class \Symfony\Component\EventDispatcher\Eventclass \Drupal\Core\Routing\RouteBuildEvent File core/lib/Drupal/Core/Routing/RouteBuildEvent.php, line 11 Namespace Drupal\Core\Routing Members Name Modifiers Type Description Event::$dispatcher private property Event::$name private property Event::$propagationStopped private property Event::getDispatcher Deprecated public function Returns the

ShortcutDeleteForm::getRedirectUrl

protected ShortcutDeleteForm::getRedirectUrl() Returns the URL where the user should be redirected after deletion. Return value \Drupal\Core\Url The redirect URL. Overrides EntityDeleteFormTrait::getRedirectUrl File core/modules/shortcut/src/Form/ShortcutDeleteForm.php, line 32 Class ShortcutDeleteForm Builds the shortcut link deletion form. Namespace Drupal\shortcut\Form Code protected function getRedirectUrl() { return $this->getCancelUrl(); }

ModerationStateDeleteForm::getQuestion

public ModerationStateDeleteForm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/content_moderation/src/Form/ModerationStateDeleteForm.php, line 17 Class ModerationStateDeleteForm Builds the form to delete Moderation state entities. Namespace Drupal\content_moderation\Form Code public function getQuestion() { return $this->t('Are you

EntityReferenceFieldItemList::getConstraints

public EntityReferenceFieldItemList::getConstraints() Gets a list of validation constraints. Return value array Array of constraints, each being an instance of \Symfony\Component\Validator\Constraint. Overrides FieldItemList::getConstraints File core/lib/Drupal/Core/Field/EntityReferenceFieldItemList.php, line 16 Class EntityReferenceFieldItemList Defines a item list class for entity reference fields. Namespace Drupal\Core\Field Code public function getConstraints() { $constraints =

FormStateDecoratorBase::isRedirectDisabled

public FormStateDecoratorBase::isRedirectDisabled() Determines if redirecting has been prevented. Return value bool If TRUE, the form will not redirect. Overrides FormStateInterface::isRedirectDisabled File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 203 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function isRedirectDisabled() { return $this->decoratedFormState->isRedirectDisabled(); }

BackendCompilerPass

Defines a compiler pass to allow automatic override per backend. A module developer has to tag his backend service with "backend_overridable": custom_service: class: ... tags: - { name: backend_overridable } As a site admin you set the 'default_backend' in your services.yml file: parameters: default_backend: sqlite As a developer for alternative storage engines you register a service with $yourbackend.$original_service: sqlite.custom_service: class: ... Hierarchy class \Drupal\

RecursiveContextualValidator::$constraintValidatorFactory

The constraint validator factory. Type: \Symfony\Component\Validator\ConstraintValidatorFactoryInterface File core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php, line 51 Class RecursiveContextualValidator Defines a recursive contextual validator for Typed Data. Namespace Drupal\Core\TypedData\Validation Code protected $constraintValidatorFactory;

ProfileTranslationHandler::hasCreatedTime

protected ProfileTranslationHandler::hasCreatedTime() Checks whether the entity type supports creation time natively. Return value bool TRUE if metadata is natively supported, FALSE otherwise. Overrides ContentTranslationHandler::hasCreatedTime File core/modules/user/src/ProfileTranslationHandler.php, line 25 Class ProfileTranslationHandler Defines the translation handler for users. Namespace Drupal\user Code protected function hasCreatedTime() { // User creation date has nothing to

FormElementBase::__construct

public FormElementBase::__construct(TypedDataInterface $element) Constructs a FormElementBase. Parameters \Drupal\Core\TypedData\TypedDataInterface $element: The schema element this form element is for. File core/modules/config_translation/src/FormElement/FormElementBase.php, line 38 Class FormElementBase Provides a common base class for form elements. Namespace Drupal\config_translation\FormElement Code public function __construct(TypedDataInterface $element) { $this->element =