ResponsiveImageStyle::getBreakpointGroup

public ResponsiveImageStyle::getBreakpointGroup() Returns the breakpoint group for the responsive image style. Return value string The breakpoint group. Overrides ResponsiveImageStyleInterface::getBreakpointGroup File core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php, line 168 Class ResponsiveImageStyle Defines the responsive image style entity. Namespace Drupal\responsive_image\Entity Code public function getBreakpointGroup() { return $this->breakpoint_group; }

EntityConstraintViolationListInterface::getByField

public EntityConstraintViolationListInterface::getByField($field_name) Gets the violations of the given field. Parameters string $field_name: The name of the field to get violations for. Return value \Symfony\Component\Validator\ConstraintViolationListInterface The violations of the given field. File core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php, line 34 Class EntityConstraintViolationListInterface Interface for the result of entity validation. Namespace Drupa

MenuLinkContentForm::__construct

public MenuLinkContentForm::__construct(EntityManagerInterface $entity_manager, MenuParentFormSelectorInterface $menu_parent_selector, LanguageManagerInterface $language_manager, PathValidatorInterface $path_validator) Constructs a MenuLinkContentForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Menu\MenuParentFormSelectorInterface $menu_parent_selector: The menu parent form selector service. \Drupal\Core\Language\LanguageManag

12 #type uses of View

DisplayPluginBase::buildBasicRenderable in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Builds a basic render array which can be properly render cached. DisplayPluginBase::buildRenderable in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Builds a renderable array of the view. FieldRenderedEntityTest::testRenderedEntityWithField in core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php Tests the rendered entity output with the test f

DatabaseQueue::doCreateItem

protected DatabaseQueue::doCreateItem($data) Adds a queue item and store it directly to the queue. Parameters $data: Arbitrary data to be associated with the new task in the queue. Return value A unique ID if the item was successfully created and was (best effort) added to the queue, otherwise FALSE. We don't guarantee the item was committed to disk etc, but as far as we know, the item is now in the queue. File core/lib/Drupal/Core/Queue/DatabaseQueue.php, line 85 Class DatabaseQueue Def

CacheTagsInvalidator::resetChecksums

public CacheTagsInvalidator::resetChecksums() Reset statically cached tags in all cache tag checksum services. This is only used by tests. File core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php, line 43 Class CacheTagsInvalidator Passes cache tag events to classes that wish to respond to them. Namespace Drupal\Core\Cache Code public function resetChecksums() { foreach ($this->invalidators as $invalidator) { if ($invalidator instanceof CacheTagsChecksumInterface) { $inv

FieldConfigAccessControlHandler::checkAccess

protected FieldConfigAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user

TypedConfigManager::getDefinitionWithReplacements

protected TypedConfigManager::getDefinitionWithReplacements($base_plugin_id, array $replacements, $exception_on_invalid = TRUE) Gets a schema definition with replacements for dynamic names. Parameters string $base_plugin_id: A plugin ID. array $replacements: An array of replacements for dynamic type names. bool $exception_on_invalid: (optional) This parameter is passed along to self::getDefinition(). However, self::getDefinition() does not respect this parameter, so it is effectively useless i

EntityFormInterface::setModuleHandler

public EntityFormInterface::setModuleHandler(ModuleHandlerInterface $module_handler) Sets the module handler for this form. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. Return value $this File core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 126 Class EntityFormInterface Defines an interface for entity form classes. Namespace Drupal\Core\Entity Code public function setModuleHandler(ModuleHandlerInterface $module_handler);

EntityResolverManager::setParametersFromReflection

protected EntityResolverManager::setParametersFromReflection($controller, Route $route) Sets the upcasting information using reflection. Parameters string|array $controller: A PHP callable representing the controller. \Symfony\Component\Routing\Route $route: The route object to populate without upcasting information. Return value bool Returns TRUE if the upcasting parameters could be set, FALSE otherwise. File core/lib/Drupal/Core/Entity/EntityResolverManager.php, line 115 Class EntityRes