Hidden

Provides a form element for an HTML 'hidden' input element. Specify either #default_value or #value but not both. Properties: #default_value: The initial value of the form element. JavaScript may alter the value prior to submission. #value: The value of the form element. The Form API ensures that this value remains unchanged by the browser. Usage example: $form['entity_id'] = array('#type' => 'hidden', '#value' => $entity_id); Plugin annotation @FormElement("hidden") Hierarchy class

SystemManager::REQUIREMENT_WARNING

Requirement severity -- Warning condition; proceed but flag warning. File core/modules/system/src/SystemManager.php, line 61 Class SystemManager System Manager Service. Namespace Drupal\system Code const REQUIREMENT_WARNING = 1;

UpdateProcessor::processFetchTask

public UpdateProcessor::processFetchTask($project) Processes a task to fetch available update data for a single project. Once the release history XML data is downloaded, it is parsed and saved in an entry just for that project. Parameters array $project: Associative array of information about the project to fetch data for. Return value bool TRUE if we fetched parsable XML, otherwise FALSE. Overrides UpdateProcessorInterface::processFetchTask File core/modules/update/src/UpdateProcessor.php, l

ConfigEntityBase::disable

public ConfigEntityBase::disable() Disables the configuration entity. Return value $this Overrides ConfigEntityInterface::disable File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 188 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function disable() { return $this->setStatus(FALSE); }

Entity::uriRelationships

public Entity::uriRelationships() Gets a list of URI relationships supported by this entity. Return value string[] An array of link relationships supported by this entity. Overrides EntityInterface::uriRelationships File core/lib/Drupal/Core/Entity/Entity.php, line 325 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function uriRelationships() { return array_keys($this->linkTemplates()); }

NullPathProcessorManager::processInbound

public NullPathProcessorManager::processInbound($path, Request $request) Processes the inbound path. Parameters string $path: The path to process, with a leading slash. \Symfony\Component\HttpFoundation\Request $request: The HttpRequest object representing the current request. Return value string The processed path. Overrides InboundPathProcessorInterface::processInbound File core/lib/Drupal/Core/PathProcessor/NullPathProcessorManager.php, line 18 Class NullPathProcessorManager Provides

MenuTreeStorageInterface::maxDepth

public MenuTreeStorageInterface::maxDepth() The maximum depth of tree the storage implementation supports. Return value int The maximum depth. File core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 19 Class MenuTreeStorageInterface Defines an interface for storing a menu tree containing menu link IDs. Namespace Drupal\Core\Menu Code public function maxDepth();

ActionDeleteForm

Builds a form to delete an action. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses EntityDeleteFormTraitclass \Dru

EntityDisplayRepository::getFormModeOptions

public EntityDisplayRepository::getFormModeOptions($entity_type_id) Gets an array of form mode options. Parameters string $entity_type_id: The entity type whose form mode options should be returned. Return value array An array of form mode labels, keyed by the display mode ID. Overrides EntityDisplayRepositoryInterface::getFormModeOptions File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 160 Class EntityDisplayRepository Provides a repository for entity display objects (

RouteBuilder::$rebuildNeeded

Flag that indicates if we should rebuild at the end of the request. Type: bool File core/lib/Drupal/Core/Routing/RouteBuilder.php, line 75 Class RouteBuilder Managing class for rebuilding the router table. Namespace Drupal\Core\Routing Code protected $rebuildNeeded = FALSE;