FilterController::getLabel

public FilterController::getLabel(FilterFormatInterface $filter_format) Gets the label of a filter format. Parameters \Drupal\filter\FilterFormatInterface $filter_format: The filter format. Return value string The label of the filter format. File core/modules/filter/src/Controller/FilterController.php, line 45 Class FilterController Controller routines for filter routes. Namespace Drupal\filter\Controller Code public function getLabel(FilterFormatInterface $filter_format) { return

ConfigNamesMapper::hasTranslation

public ConfigNamesMapper::hasTranslation(LanguageInterface $language) Checks whether there is already a translation for this mapper. Parameters \Drupal\Core\Language\LanguageInterface $language: A language object. Return value bool TRUE if any of the configuration elements have a translation in the given language, FALSE otherwise. Overrides ConfigMapperInterface::hasTranslation File core/modules/config_translation/src/ConfigNamesMapper.php, line 450 Class ConfigNamesMapper Configuration

ConfigNamesMapper::populateFromRouteMatch

public ConfigNamesMapper::populateFromRouteMatch(RouteMatchInterface $route_match) Populate the config mapper with request data. @todo Replace $request with RouteMatch https://www.drupal.org/node/2295255. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. Overrides ConfigMapperInterface::populateFromRouteMatch File core/modules/config_translation/src/ConfigNamesMapper.php, line 369 Class ConfigNamesMapper Configuration mapper base implementation. Namespac

CacheContextsManager::__construct

public CacheContextsManager::__construct(ContainerInterface $container, array $contexts) Constructs a CacheContextsManager object. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The current service container. string[] $contexts: An array of the available cache context IDs. File core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 47 Class CacheContextsManager Converts cache context tokens into cache keys. Namespace Drupal\Core\Cache\Contex

PhpArrayDumper::getArray

public PhpArrayDumper::getArray() Gets the service container definition as a PHP array. Return value array A PHP array representation of the service container. Overrides OptimizedPhpArrayDumper::getArray File core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php, line 24 Class PhpArrayDumper PhpArrayDumper dumps a service container as a PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code public function getArray() { $this->serialize = FALSE;

Statement::execute

public Statement::execute($args = array(), $options = array()) Executes a prepared statement Parameters $args: An array of values with as many elements as there are bound parameters in the SQL statement being executed. $options: An array of options for this query. Return value TRUE on success, or FALSE on failure. Overrides StatementInterface::execute File core/lib/Drupal/Core/Database/Statement.php, line 42 Class Statement Default implementation of StatementInterface. Namespace Drupa

ImageToolkit

Defines a Plugin annotation object for the image toolkit plugin. An image toolkit provides common image file manipulations like scaling, cropping, and rotating. Plugin namespace: Plugin\ImageToolkit For a working example, see \Drupal\system\Plugin\ImageToolkit\GDToolkit Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\Core\ImageToolkit\Annotation\ImageToolkit See also \Drupal\Core\ImageToolkit\Annotation\ImageToolkitOperation \Drupal\Core\Imag

FilterFormatAccessControlHandler::checkAccess

protected FilterFormatAccessControlHandler::checkAccess(EntityInterface $filter_format, $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:

FieldStorageConfig::getOptionsProvider

public FieldStorageConfig::getOptionsProvider($property_name, FieldableEntityInterface $entity) Gets an options provider for the given field item property. Parameters string $property_name: The name of the property to get options for; e.g., 'value'. \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity for which the options should be provided. Return value \Drupal\Core\TypedData\OptionsProviderInterface|null An options provider, or NULL if no options are defined. Overrides FieldSto

ContentEntityConfirmFormBase::getConfirmText

public ContentEntityConfirmFormBase::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormInterface::getConfirmText File core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php, line 31 Class ContentEntityConfirmFormBase Provides a generic base class for an entity-based confirmation form. Namespace Drupal\Core\Entity Code public function getConfirmText() { return $this->t('Confirm');