DrupalKernelInterface::loadLegacyIncludes

public DrupalKernelInterface::loadLegacyIncludes() Helper method that loads legacy Drupal include files. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 141 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function loadLegacyIncludes();

ProcessedText::getInfo

public ProcessedText::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/modules/filter/src/Element/ProcessedText.php, line 22 Class ProcessedText Provides a processed text render element. Namespace Drupal\filter\Element Code publ

FormValidator

Provides validation of form submissions. Hierarchy class \Drupal\Core\Form\FormValidator implements FormValidatorInterface uses StringTranslationTrait File core/lib/Drupal/Core/Form/FormValidator.php, line 17 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormValidator::$csrfToken protected property The CSRF token generator to validate the form token. FormValidator::$formErrorHandler protected property The form error handler. FormValidator::

SpecialAttributesRouteSubscriber::onAlterRoutes

public SpecialAttributesRouteSubscriber::onAlterRoutes(RouteBuildEvent $event) Delegates the route altering to self::alterRoutes(). Parameters \Drupal\Core\Routing\RouteBuildEvent $event: The route build event. Overrides RouteSubscriberBase::onAlterRoutes File core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php, line 43 Class SpecialAttributesRouteSubscriber Provides a route subscriber which checks for invalid pattern variables. Namespace Drupal\Core\EventSubscrib

ContentTranslationRouteSubscriber::__construct

public ContentTranslationRouteSubscriber::__construct(ContentTranslationManagerInterface $content_translation_manager) Constructs a ContentTranslationRouteSubscriber object. Parameters \Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager. File core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 29 Class ContentTranslationRouteSubscriber Subscriber for entity translation routes. N

Number::validateNumber

public static Number::validateNumber(&$element, FormStateInterface $form_state, &$complete_form) Form element validation handler for #type 'number'. Note that #required is validated by _form_validate() already. File core/lib/Drupal/Core/Render/Element/Number.php, line 62 Class Number Provides a form element for numeric input, with special numeric validation. Namespace Drupal\Core\Render\Element Code public static function validateNumber(&$element, FormStateInterface $form_s

AliasWhitelist::$aliasStorage

The Path CRUD service. Type: \Drupal\Core\Path\AliasStorageInterface File core/lib/Drupal/Core/Path/AliasWhitelist.php, line 27 Class AliasWhitelist Extends CacheCollector to build the path alias whitelist over time. Namespace Drupal\Core\Path Code protected $aliasStorage;

hook_help

hook_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) Provide online user help. By implementing hook_help(), a module can make documentation available to the user for the module as a whole, or for specific pages. Help for developers should usually be provided via function header comments in the code, or in special API example files. The page-specific help information provided by this hook appears in the Help block (provided by the core Help module), if the block is displ

ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable

protected ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable($field_name, $value) Updates a field value, only if the field is translatable. Parameters string $field_name: The name of the field. mixed $value: The field value to be set. File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 144 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code protected functio

Comment::getCreatedTime

public Comment::getCreatedTime() Returns the time that the comment was created. Return value int The timestamp of when the comment was created. Overrides CommentInterface::getCreatedTime File core/modules/comment/src/Entity/Comment.php, line 455 Class Comment Defines the comment entity class. Namespace Drupal\comment\Entity Code public function getCreatedTime() { if (isset($this->get('created')->value)) { return $this->get('created')->value; } return NULL; }