FormStateInterface::unsetValue

public FormStateInterface::unsetValue($key) Removes a specific key from the submitted form values. Parameters string|array $key: Values are stored as a multi-dimensional associative array. If $key is a string, it will use unset($values[$key]). If $key is an array, each element of the array will be used as a nested key. If $key = array('foo', 'bar') it will use unset($values['foo']['bar']). Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 341 Class FormStateIn

MenuLinkDefaultForm::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Menu/Form/MenuLinkDefaultForm.php, line 50 Class MenuLinkDefaultForm Provides an edit form for static menu links. Namespace Drupal\Core\Menu\Form Code protected $moduleHandler;

StorageComparerInterface::getTargetStorage

public StorageComparerInterface::getTargetStorage($collection = StorageInterface::DEFAULT_COLLECTION) Gets the configuration target storage. Parameters string $collection: (optional) The storage collection to use. Defaults to the default collection. Return value \Drupal\Core\Config\StorageInterface Storage object used to write configuration. File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 32 Class StorageComparerInterface Defines an interface for comparison of configu

NodeType::$type

The machine name of this node type. @todo Rename to $id. Type: string File core/modules/node/src/Entity/NodeType.php, line 56 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $type;

NodeType::$display_submitted

Display setting for author and date Submitted by post information. Type: bool File core/modules/node/src/Entity/NodeType.php, line 100 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $display_submitted = TRUE;

RegisterSerializationClassesCompilerPass::process

public RegisterSerializationClassesCompilerPass::process(ContainerBuilder $container) Adds services to the Serializer. Parameters \Symfony\Component\DependencyInjection\ContainerBuilder $container: The container to process. Overrides CompilerPassInterface::process File core/modules/serialization/src/RegisterSerializationClassesCompilerPass.php, line 20 Class RegisterSerializationClassesCompilerPass Adds services tagged 'normalizer' and 'encoder' to the Serializer. Namespace Drupal\seri

TypedData::getConstraints

public TypedData::getConstraints() Gets a list of validation constraints. Return value array Array of constraints, each being an instance of \Symfony\Component\Validator\Constraint. Overrides TypedDataInterface::getConstraints File core/lib/Drupal/Core/TypedData/TypedData.php, line 122 Class TypedData The abstract base class for typed data. Namespace Drupal\Core\TypedData Code public function getConstraints() { $constraint_manager = $this->getTypedDataManager()->getValidationC

PhpTransliteration

Enhances PhpTransliteration with an alter hook. Hierarchy class \Drupal\Component\Transliteration\PhpTransliteration implements TransliterationInterfaceclass \Drupal\Core\Transliteration\PhpTransliteration See also hook_transliteration_overrides_alter() Related topics Transliteration Transliterate from Unicode to US-ASCII File core/lib/Drupal/Core/Transliteration/PhpTransliteration.php, line 14 Namespace Drupal\Core\Transliteration Members Name Modifiers Type Description P

ViewAddForm

Form controller for the Views edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBaseclass \Drupal\views_ui\ViewAddForm File core/modules/views_ui/src/ViewAddForm.php, line 14 Namespace Drupal

AuthenticationManager::challengeException

public AuthenticationManager::challengeException(Request $request, \Exception $previous) Constructs an exception which is used to generate the challenge. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. \Exception $previous: The previous exception. Return value \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface|null An exception to be used in order to generate an authentication challenge. Overrides AuthenticationProviderChallengeInterface::challengeExcep