Cache::buildTags

public static Cache::buildTags($prefix, array $suffixes, $glue = ':') Build an array of cache tags from a given prefix and an array of suffixes. Each suffix will be converted to a cache tag by appending it to the prefix, with a colon between them. Parameters string $prefix: A prefix string. array $suffixes: An array of suffixes. Will be cast to strings. string $glue: A string to be used as glue for concatenation. Defaults to a colon. Return value string[] An array of cache tags. File core/lib

ConfigDuplicateUUIDException

Exception thrown when a config object UUID causes a conflict. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\ConfigDuplicateUUIDException File core/lib/Drupal/Core/Config/ConfigDuplicateUUIDException.php, line 8 Namespace Drupal\Core\Config Members

EntityDisplayInterface::getRenderer

public EntityDisplayInterface::getRenderer($field_name) Gets the renderer plugin for a field (e.g. widget, formatter). Parameters string $field_name: The field name. Return value \Drupal\Core\Field\PluginSettingsInterface|null A widget or formatter plugin or NULL if the field does not exist. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 87 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Cod

BreakLockForm::$entityManager

Stores the Entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface Overrides EntityForm::$entityManager File core/modules/views_ui/src/Form/BreakLockForm.php, line 21 Class BreakLockForm Builds the form to break the lock of an edited view. Namespace Drupal\views_ui\Form Code protected $entityManager;

DialogRenderer::renderResponse

public DialogRenderer::renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match) Renders the main content render array into a response. Parameters array $main_content: The render array representing the main content. \Symfony\Component\HttpFoundation\Request $request: The request object, for context. \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match, for context. Return value \Symfony\Component\HttpFoundation\Response The Response in the forma

CacheFactoryInterface::get

public CacheFactoryInterface::get($bin) Gets a cache backend class for a given cache bin. Parameters string $bin: The cache bin for which a cache backend object should be returned. Return value \Drupal\Core\Cache\CacheBackendInterface The cache backend object associated with the specified bin. File core/lib/Drupal/Core/Cache/CacheFactoryInterface.php, line 19 Class CacheFactoryInterface An interface defining cache factory classes. Namespace Drupal\Core\Cache Code public function get(

user_role_permissions

user_role_permissions(array $roles) Determine the permissions for one or more roles. Parameters array $roles: An array of role IDs. Return value array An array indexed by role ID. Each value is an array of permission strings for the given role. File core/modules/user/user.module, line 319 Enables the user registration and login system. Code function user_role_permissions(array $roles) { if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'update') { return _user_role_permis

ActiveLinkResponseFilter::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php, line 51 Class ActiveLinkResponseFilter Subscribes to filter HTML responses, to set the 'is-active' class on links. Namespace Drupal\Core\EventSubscriber Code protected $languageManager;

Database::openConnection

final protected static Database::openConnection($key, $target) Opens a connection to the server specified by the given key and target. Parameters string $key: The database connection key, as specified in settings.php. The default is "default". string $target: The database target to open. Throws \Drupal\Core\Database\ConnectionNotDefinedException \Drupal\Core\Database\DriverNotSpecifiedException File core/lib/Drupal/Core/Database/Database.php, line 357 Class Database Primary front-control

locale_translation_manual_status

locale_translation_manual_status() Page callback: Checks for translation updates and displays the status. Manually checks the translation status without the use of cron. See also locale_menu() File core/modules/locale/locale.pages.inc, line 18 Interface translation summary, editing and deletion user interfaces. Code function locale_translation_manual_status() { module_load_include('compare.inc', 'locale'); // Check the translation status of all translatable projects in all languages.