CommentLazyBuilders::$commentManager

Comment manager service. Type: \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentLazyBuilders.php, line 38 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $commentManager;

ContentEntityStorageBase::invokeFieldPostSave

protected ContentEntityStorageBase::invokeFieldPostSave(ContentEntityInterface $entity, $update) Invokes the post save method on the Field objects within an entity. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object. bool $update: Specifies whether the entity is being updated or created. File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 484 Class ContentEntityStorageBase Base class for content entity storage handlers. Namespace Drupal\Cor

ContactFormInterface::getWeight

public ContactFormInterface::getWeight() Returns the weight of this category (used for sorting). Return value int The weight of this category. File core/modules/contact/src/ContactFormInterface.php, line 60 Class ContactFormInterface Provides an interface defining a contact form entity. Namespace Drupal\contact Code public function getWeight();

LanguageConfigFactoryOverride::setLanguage

public LanguageConfigFactoryOverride::setLanguage(LanguageInterface $language = NULL) Sets the language to be used in configuration overrides. Parameters \Drupal\Core\Language\LanguageInterface $language: The language object used to override configuration data. Return value $this Overrides LanguageConfigFactoryOverrideInterface::setLanguage File core/modules/language/src/Config/LanguageConfigFactoryOverride.php, line 136 Class LanguageConfigFactoryOverride Provides language overrides for

_drupal_get_error_level

_drupal_get_error_level() Returns the current error level. This function should only be used to get the current error level prior to the kernel being booted or before Drupal is installed. In all other situations the following code is preferred: \Drupal::config('system.logging')->get('error_level'); Return value string The current error level. File core/includes/errors.inc, line 301 Functions for error handling. Code function _drupal_get_error_level() { // Raise the error level to maxim

NodeType::getHelp

public NodeType::getHelp() Gets the help information. Return value string The help information of this node type. Overrides NodeTypeInterface::getHelp File core/modules/node/src/Entity/NodeType.php, line 162 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code public function getHelp() { return $this->help; }

FormStateDecoratorBase::getRebuildInfo

public FormStateDecoratorBase::getRebuildInfo() Gets the rebuild info. Return value array The rebuild info. Overrides FormStateInterface::getRebuildInfo See also \Drupal\Core\Form\FormState::$rebuild_info File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 267 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function getRebuildInfo() { return $this->decoratedFormState->getRebuildInfo(); }

FormBuilder::getFileUploadMaxSize

protected FormBuilder::getFileUploadMaxSize() Wraps file_upload_max_size(). Return value string A translated string representation of the size of the file size limit based on the PHP upload_max_filesize and post_max_size. File core/lib/Drupal/Core/Form/FormBuilder.php, line 1376 Class FormBuilder Provides form building and processing. Namespace Drupal\Core\Form Code protected function getFileUploadMaxSize() { return file_upload_max_size(); }

ConfigEvents::IMPORT

Name of the event fired when importing configuration to target storage. This event allows modules to perform additional actions when configuration is imported. The event listener method receives a \Drupal\Core\Config\ConfigImporterEvent instance. See also \Drupal\Core\Config\ConfigImporterEvent \Drupal\Core\Config\ConfigImporter::import(). \Drupal\Core\EventSubscriber\ConfigSnapshotSubscriber::onConfigImporterImport(). Related topics Events Overview of event dispatch and subscribing File cor

PlainTextOutput::renderFromHtml

public static PlainTextOutput::renderFromHtml($string) Transforms a given HTML string into to a context-appropriate output string. This transformation consists of performing the formatting appropriate to a given output context (e.g., plain-text email subjects, HTML attribute values). Parameters string|object $string: An HTML string or an object with a ::__toString() magic method returning HTML markup. The source HTML markup is considered ready for output into HTML fragments and thus already pr