Renderer::$isRenderingRoot

Whether we're currently in a ::renderRoot() call. Type: bool File core/lib/Drupal/Core/Render/Renderer.php, line 67 Class Renderer Turns a render array into a HTML string. Namespace Drupal\Core\Render Code protected $isRenderingRoot = FALSE;

field_ui_help

field_ui_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/field_ui/field_ui.module, line 20 Allows administrators to attach custom fields to fieldable types. Code function field_ui_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.field_ui': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Field UI module provides an administrative

MimeTypeGuesser::__construct

public MimeTypeGuesser::__construct(StreamWrapperManagerInterface $stream_wrapper_manager) Constructs a MimeTypeGuesser object. Parameters StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager. File core/lib/Drupal/Core/File/MimeType/MimeTypeGuesser.php, line 47 Class MimeTypeGuesser Defines a MIME type guesser that also supports stream wrapper paths. Namespace Drupal\Core\File\MimeType Code public function __construct(StreamWrapperManagerInterface $stream_

LocaleTranslation::__construct

public LocaleTranslation::__construct(StringStorageInterface $storage, CacheBackendInterface $cache, LockBackendInterface $lock, ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager, RequestStack $request_stack) Constructs a translator using a string storage. Parameters \Drupal\locale\StringStorageInterface $storage: Storage to use when looking for new translations. \Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend. \Drupal\Core\Lock\LockBackendIn

hook_filter_format_disable

hook_filter_format_disable($format) Perform actions when a text format has been disabled. Parameters \Drupal\filter\FilterFormatInterface $format: The format object of the format being disabled. Related topics Hooks Define functions that alter the behavior of Drupal core. File core/modules/filter/filter.api.php, line 54 Hooks provided by the Filter module. Code function hook_filter_format_disable($format) { mymodule_cache_rebuild(); }

Message::getMessage

public Message::getMessage() Returns the message body. Return value string The message body. Overrides MessageInterface::getMessage File core/modules/contact/src/Entity/Message.php, line 95 Class Message Defines the contact message entity. Namespace Drupal\contact\Entity Code public function getMessage() { return $this->get('message')->value; }

BundleConfigImportValidate::__construct

public BundleConfigImportValidate::__construct(ConfigManagerInterface $config_manager, EntityManagerInterface $entity_manager) Constructs the event subscriber. Parameters \Drupal\Core\Config\ConfigManagerInterface $config_manager: The config manager \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/lib/Drupal/Core/Entity/Event/BundleConfigImportValidate.php, line 38 Class BundleConfigImportValidate Entity config importer validation event subscriber.

action.views_execution.inc

Provides views runtime hooks for action.module. File core/modules/action/action.views_execution.inc Functions Name Description action_views_form_substitutions Implements hook_views_form_substitutions().

SqlContentEntityStorage::doSaveFieldItems

protected SqlContentEntityStorage::doSaveFieldItems(ContentEntityInterface $entity, array $names = []) Writes entity field values to the storage. This method is responsible for allocating entity and revision identifiers and updating the entity object with their values. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object. string[] $names: (optional) The name of the fields to be written to the storage. If an empty value is passed all field values are saved. Overrides

Extension::$type

The type of the extension (e.g., 'module'). Type: string File core/lib/Drupal/Core/Extension/Extension.php, line 15 Class Extension Defines an extension (file) object. Namespace Drupal\Core\Extension Code protected $type;