SearchPageAddForm

Provides a form for adding a search page. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\search\Form\SearchPageFormBaseclass \Drupal\search\Form\SearchPageAddForm File core/modules/search/src/Form/SearchPageAddForm.php,

ConfigDependencyManager::$data

The config entity data. Type: \Drupal\Core\Config\Entity\ConfigEntityDependency[] File core/lib/Drupal/Core/Config/Entity/ConfigDependencyManager.php, line 129 Class ConfigDependencyManager Provides a class to discover configuration entity dependencies. Namespace Drupal\Core\Config\Entity Code protected $data = array();

HtmlResponseAttachmentsProcessor::renderPlaceholders

protected HtmlResponseAttachmentsProcessor::renderPlaceholders(HtmlResponse $response) Renders placeholders (#attached['placeholders']). First, the HTML response object is converted to an equivalent render array, with #markup being set to the response's content and #attached being set to the response's attachments. Among these attachments, there may be placeholders that need to be rendered (replaced). Next, RendererInterface::renderRoot() is called, which renders the placeholders into their fin

DRUPAL_REQUIRED

Required option on forms and settings File core/modules/system/system.module, line 59 Configuration system that lets administrators modify the workings of the site. Code const DRUPAL_REQUIRED = 2;

UnchangingCacheableDependencyTrait

Trait to implement CacheableDependencyInterface for unchanging objects. Hierarchy trait \Drupal\Core\Cache\UnchangingCacheableDependencyTrait See also \Drupal\Core\Cache\CacheableDependencyInterface File core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php, line 10 Namespace Drupal\Core\Cache Members Name Modifiers Type Description UnchangingCacheableDependencyTrait::getCacheContexts public function The cache contexts associated with this object. Overrides

ChainedFastBackend::__construct

public ChainedFastBackend::__construct(CacheBackendInterface $consistent_backend, CacheBackendInterface $fast_backend, $bin) Constructs a ChainedFastBackend object. Parameters \Drupal\Core\Cache\CacheBackendInterface $consistent_backend: The consistent cache backend. \Drupal\Core\Cache\CacheBackendInterface $fast_backend: The fast cache backend. string $bin: The cache bin for which the object is created. File core/lib/Drupal/Core/Cache/ChainedFastBackend.php, line 91 Class ChainedFastBacke

CacheableResponseInterface::addCacheableDependency

public CacheableResponseInterface::addCacheableDependency($dependency) Adds a dependency on an object: merges its cacheability metadata. For instance, when a response depends on some configuration, an entity, or an access result, we must make sure their cacheability metadata is present on the response. This method makes doing that simple. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|mixed $dependency: The dependency. If the object implements CacheableDependencyInterface, then its

FilterFormatFormBase::form

public FilterFormatFormBase::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/filter/src/FilterFormatFormBase.php, line 45 Class FilterFormatFormBase Provides a base form for a filter format. Namespace Drupal\filter Code public function form(array $form, FormStateInterface $form_state) { $format = $t

EntityType::$id

The unique identifier of this entity type. Type: string File core/lib/Drupal/Core/Entity/EntityType.php, line 52 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $id;

Fieldset

Provides a render element for a group of form elements. Usage example: $form['author'] = array( '#type' => 'fieldset', '#title' => $this->t('Author'), ); $form['author']['name'] = array( '#type' => 'textfield', '#title' => $this->t('Name'), ); Plugin annotation @RenderElement("fieldset") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializat