MessageViewBuilder::view

public MessageViewBuilder::view(EntityInterface $entity, $view_mode = 'full', $langcode = NULL) Builds the render array for the provided entity. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to render. string $view_mode: (optional) The view mode that should be used to render the entity. string $langcode: (optional) For which language the entity should be rendered, defaults to the current content language. Return value array A render array for the entity. Throws \InvalidA

QueueFactory::__construct

QueueFactory::__construct(Settings $settings) Constructs a queue factory. File core/lib/Drupal/Core/Queue/QueueFactory.php, line 34 Class QueueFactory Defines the queue factory. Namespace Drupal\Core\Queue Code function __construct(Settings $settings) { $this->settings = $settings; }

ImageStyle::getStreamWrapperManager

protected ImageStyle::getStreamWrapperManager() Gets the stream wrapper manager service. @todo Properly inject this service in Drupal 9.0.x. Return value \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface The stream wrapper manager service File core/modules/image/src/Entity/ImageStyle.php, line 519 Class ImageStyle Defines an image style configuration entity. Namespace Drupal\image\Entity Code protected function getStreamWrapperManager() { return \Drupal::service('stream_wrapp

Select::range

public Select::range($start = NULL, $length = NULL) Restricts a query to a given range in the result set. If this method is called with no parameters, will remove any range directives that have been set. Parameters $start: The first record from the result set to return. If NULL, removes any range directives that are set. $length: The number of records to return from the result set. Return value \Drupal\Core\Database\Query\SelectInterface The called object. Overrides SelectInterface::range Fil

InstallerServiceProvider

Service provider for the early installer environment. This class is manually added by install_begin_request() via $conf['container_service_providers'] and required to prevent various services from trying to retrieve data from storages that do not exist yet. Hierarchy class \Drupal\Core\Installer\InstallerServiceProvider implements ServiceModifierInterface, ServiceProviderInterface File core/lib/Drupal/Core/Installer/InstallerServiceProvider.php, line 17 Namespace Drupal\Core\Installer

GeneratedNoLink::TAG

HTML tag to use when building the link. Overrides GeneratedLink::TAG File core/lib/Drupal/Core/GeneratedNoLink.php, line 13 Class GeneratedNoLink This class holds a <span> generated from the <nolink> route. Namespace Drupal\Core Code const TAG = 'span';

Value::getInfo

public Value::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/Value.php, line 27 Class Value Provides a form element for storage of internal information. Namespace Drupal\Core\Render\Element Code

KeyValueContentEntityStorage::createTranslation

public KeyValueContentEntityStorage::createTranslation(ContentEntityInterface $entity, $langcode, array $values = []) Constructs a new entity translation object, without permanently saving it. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object being translated. string $langcode: The translation language code. array $values: (optional) An associative array of initial field values keyed by field name. If none is provided default values will be applied. Return value

ThemeRegistry::resolveCacheMiss

public ThemeRegistry::resolveCacheMiss($key) Resolves a cache miss. When an offset is not found in the object, this is treated as a cache miss. This method allows classes using this implementation to look up the actual value and allow it to be cached. Parameters string $key: The offset that was requested. Return value mixed The value of the offset, or NULL if no value was found. Overrides CacheCollector::resolveCacheMiss File core/lib/Drupal/Core/Utility/ThemeRegistry.php, line 120 Class

ImageEffectInterface::getWeight

public ImageEffectInterface::getWeight() Returns the weight of the image effect. Return value int|string Either the integer weight of the image effect, or an empty string. File core/modules/image/src/ImageEffectInterface.php, line 94 Class ImageEffectInterface Defines the interface for image effects. Namespace Drupal\image Code public function getWeight();