ContentEntityFormInterface::validateForm

public ContentEntityFormInterface::validateForm(array &$form, FormStateInterface $form_state) Note that extending classes should not override this method to add entity validation logic, but define further validation constraints using the entity validation API and/or provide a new validation constraint if necessary. This is the only way to ensure that the validation logic is correctly applied independently of form submissions; e.g., for REST requests. For more information about entity valid

ViewEditForm::$tempStore

The views temp store. Type: \Drupal\user\SharedTempStore File core/modules/views_ui/src/ViewEditForm.php, line 30 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $tempStore;

Tour::resetKeyedRoutes

public Tour::resetKeyedRoutes() Resets the statically cached keyed routes. Overrides TourInterface::resetKeyedRoutes File core/modules/tour/src/Entity/Tour.php, line 164 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code public function resetKeyedRoutes() { unset($this->keyedRoutes); }

rdf_preprocess_field__node__uid

rdf_preprocess_field__node__uid(&$variables) Implements hook_preprocess_HOOK() for UID field templates. File core/modules/rdf/rdf.module, line 279 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_preprocess_field__node__uid(&$variables) { _rdf_set_field_rel_attribute($variables); }

HelpController::create

public static HelpController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service c

FormBase::getRequest

protected FormBase::getRequest() Gets the request object. Return value \Symfony\Component\HttpFoundation\Request $request The request object. File core/lib/Drupal/Core/Form/FormBase.php, line 153 Class FormBase Provides a base class for forms. Namespace Drupal\Core\Form Code protected function getRequest() { if (!$this->requestStack) { $this->requestStack = \Drupal::service('request_stack'); } return $this->requestStack->getCurrentRequest(); }

LibraryDiscoveryInterface::clearCachedDefinitions

public LibraryDiscoveryInterface::clearCachedDefinitions() Clears static and persistent library definition caches. File core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php, line 51 Class LibraryDiscoveryInterface Discovers information for asset (CSS/JavaScript) libraries. Namespace Drupal\Core\Asset Code public function clearCachedDefinitions();

StreamWrapperInterface::dirname

public StreamWrapperInterface::dirname($uri = NULL) Gets the name of the directory from a given path. This method is usually accessed through drupal_dirname(), which wraps around the normal PHP dirname() function, which does not support stream wrappers. Parameters string $uri: An optional URI. Return value string A string containing the directory name, or FALSE if not applicable. See also drupal_dirname() File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 182 Class

EntityChangedInterface::getChangedTimeAcrossTranslations

public EntityChangedInterface::getChangedTimeAcrossTranslations() Gets the timestamp of the last entity change across all translations. Return value int The timestamp of the last entity save operation across all translations. File core/lib/Drupal/Core/Entity/EntityChangedInterface.php, line 44 Class EntityChangedInterface Defines an interface for entity change timestamp tracking. Namespace Drupal\Core\Entity Code public function getChangedTimeAcrossTranslations();

ModerationStateDeleteForm

Builds the form to delete Moderation state entities. 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\content_moderation\Form\ModerationStateDeleteFo