ContactFormListBuilder

Defines a class to build a listing of contact form entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\contact\ContactFormListBuilder See also \Drupal\contact\Entity\ContactForm File core/modules/contact/src/ContactFormListBuilder.php, line 13 N

File

Defines the file entity class. Plugin annotation @ContentEntityType( id = "file", label = @Translation("File"), handlers = { "storage" = "Drupal\file\FileStorage", "storage_schema" = "Drupal\file\FileStorageSchema", "access" = "Drupal\file\FileAccessControlHandler", "views_data" = "Drupal\file\FileViewsData", }, base_table = "file_managed", entity_keys = { "id" = "fid", "label" = "filename", "langcode" = "langcode", "uuid" = "uuid" } ) Hierarchy cl

AuthenticationCollector::getSortedProviders

public AuthenticationCollector::getSortedProviders() Returns the sorted array of authentication providers. Return value \Drupal\Core\Authentication\AuthenticationProviderInterface[] An array of authentication provider objects. Overrides AuthenticationCollectorInterface::getSortedProviders File core/lib/Drupal/Core/Authentication/AuthenticationCollector.php, line 69 Class AuthenticationCollector A collector class for authentication providers. Namespace Drupal\Core\Authentication Code p

template_preprocess_image

template_preprocess_image(&$variables) Prepares variables for image templates. Default template: image.html.twig. Parameters array $variables: An associative array containing: uri: Either the path of the image file (relative to base_path()) or a full URL. width: The width of the image (if known). height: The height of the image (if known). alt: The alternative text for text-based browsers. HTML 4 and XHTML 1.0 always require an alt attribute. The HTML 5 draft allows the alt attribute t

ConfigNamesMapper::__construct

public ConfigNamesMapper::__construct($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $string_translation, LanguageManagerInterface $language_manager) Constructs a ConfigNamesMapper. Parameters $plugin_id: The config mapper plugin ID. mixed $plugin_definition: An array of

RoutingEvents::ALTER

Name of the event fired during route collection to allow changes to routes. This event is used to process new routes before they get saved, giving modules the opportunity to alter routes provided by any other module. The event listener method receives a \Drupal\Core\Routing\RouteBuildEvent instance. See also \Symfony\Component\Routing\RouteCollection \Drupal\system\EventSubscriber\AdminRouteSubscriber \Drupal\Core\Routing\RouteBuilder::rebuild() Related topics Events Overview of event dispatch

ConfigImporter::checkOp

protected ConfigImporter::checkOp($collection, $op, $name) Checks that the operation is still valid. During a configuration import secondary writes and deletes are possible. This method checks that the operation is still valid before processing a configuration change. Parameters string $collection: The configuration collection. string $op: The change operation. string $name: The name of the configuration to process. Return value bool TRUE is to continue processing, FALSE otherwise. Throws \D

TranslateFilterForm

Provides a filtered translation edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\TranslateFormBaseclass \Drupal\locale\Form\TranslateFilterForm File core/modules/locale/src/Form/TranslateFilterForm.php, line 10 Namespace Drupal\locale\Form Members Name Modif

AssetDumperInterface

Interface defining a service that dumps an (optimized) asset. Hierarchy interface \Drupal\Core\Asset\AssetDumperInterface File core/lib/Drupal/Core/Asset/AssetDumperInterface.php, line 8 Namespace Drupal\Core\Asset Members Name Modifiers Type Description AssetDumperInterface::dump public function Dumps an (optimized) asset to persistent storage.

_filter_url

_filter_url($text, $filter) Converts text into hyperlinks automatically. This filter identifies and makes clickable three types of "links". URLs like http://example.com. Email addresses like name@example.com. Web addresses without the "http://" protocol defined, like www.example.com. Each type must be processed separately, as there is no one regular expression that could possibly match all of the cases in one pass. Related topics Standard filters Filters implemented by the Filter module. Fi