RfcLogLevel::DEBUG

Log message severity -- Debug-level messages. File core/lib/Drupal/Core/Logger/RfcLogLevel.php, line 73 Class RfcLogLevel Defines various logging severity levels. Namespace Drupal\Core\Logger Code const DEBUG = 7;

BlockRepositoryInterface

Hierarchy interface \Drupal\block\BlockRepositoryInterface File core/modules/block/src/BlockRepositoryInterface.php, line 5 Namespace Drupal\block Members Name Modifiers Type Description BlockRepositoryInterface::getVisibleBlocksPerRegion public function Returns an array of regions and their block entities.

ImageEffectBase::calculateDependencies

public ImageEffectBase::calculateDependencies() Calculates dependencies for the configured plugin. Dependencies are saved in the plugin's configuration entity and are used to determine configuration synchronization order. For example, if the plugin integrates with specific user roles, this method should return an array of dependencies listing the specified roles. Return value array An array of dependencies grouped by type (config, content, module, theme). For example: array( 'config' =&g

BlockViewBuilder::__construct

public BlockViewBuilder::__construct(EntityTypeInterface $entity_type, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager, ModuleHandlerInterface $module_handler) Constructs a new BlockViewBuilder. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

Ajax::getInfo

public Ajax::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/lib/Drupal/Core/Render/Element/Ajax.php, line 19 Class Ajax Provides a render element for adding Ajax to a render element. Namespace Drupal\Core\Render\Element Code p

StateTransitionValidationInterface::getValidTransitions

public StateTransitionValidationInterface::getValidTransitions(ContentEntityInterface $entity, AccountInterface $user) Gets a list of transitions that are legal for this user on this entity. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity to be transitioned. \Drupal\Core\Session\AccountInterface $user: The account that wants to perform a transition. Return value \Drupal\content_moderation\Entity\ModerationStateTransition[] The list of transitions that are legal for t

NodePreviewAccessCheck::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/node/src/Access/NodePreviewAccessCheck.php, line 22 Class NodePreviewAccessCheck Determines access to node previews. Namespace Drupal\node\Access Code protected $entityManager;

BlockPlaceEventSubscriber::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/modules/block_place/src/EventSubscriber/BlockPlaceEventSubscriber.php, line 21 Class BlockPlaceEventSubscriber Namespace Drupal\block_place\EventSubscriber Code protected $requestStack;

editor_element_info_alter

editor_element_info_alter(&$types) Implements hook_element_info_alter(). Extends the functionality of text_format elements (provided by Filter module), so that selecting a text format notifies a client-side text editor when it should be enabled or disabled. See also \Drupal\filter\Element\TextFormat File core/modules/editor/editor.module, line 64 Adds bindings for client-side "text editors" to text formats. Code function editor_element_info_alter(&$types) { $types['text_format']['#

ContentTranslationMetadataWrapper::$translation

The wrapped entity translation. Type: \Drupal\Core\Entity\EntityInterface|\Drupal\Core\Entity\FieldableEntityInterface|\Drupal\Core\TypedData\TranslatableInterface File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 18 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation Code protected $translation;