RowCountException

Exception thrown if a SELECT query trying to execute rowCount() on result. Hierarchy class \Drupal\Core\Database\RowCountException extends \RuntimeException implements DatabaseException File core/lib/Drupal/Core/Database/RowCountException.php, line 8 Namespace Drupal\Core\Database Members Name Modifiers Type Description RowCountException::__construct public function

template_preprocess_table

template_preprocess_table(&$variables) Prepares variables for table templates. Default template: table.html.twig. Parameters array $variables: An associative array containing: header: An array containing the table headers. Each element of the array can be either a localized string or an associative array with the following keys: data: The localized title of the table column, as a string or render array. field: The database field represented in the table column (required if user is to be

BookController::__construct

public BookController::__construct(BookManagerInterface $bookManager, BookExport $bookExport, RendererInterface $renderer) Constructs a BookController object. Parameters \Drupal\book\BookManagerInterface $bookManager: The book manager. \Drupal\book\BookExport $bookExport: The book export service. \Drupal\Core\Render\RendererInterface $renderer: The renderer. File core/modules/book/src/Controller/BookController.php, line 52 Class BookController Controller routines for book routes. Namesp

BreadcrumbManager::build

public BreadcrumbManager::build(RouteMatchInterface $route_match) Builds the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value \Drupal\Core\Breadcrumb\Breadcrumb A breadcrumb. Overrides BreadcrumbBuilderInterface::build File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 72 Class BreadcrumbManager Provides a breadcrumb manager. Namespace Drupal\Core\Breadcrumb Code public function build(RouteMatchInterface

RdfMappingInterface::getBundleMapping

public RdfMappingInterface::getBundleMapping() Gets the mapping config for the bundle-level data. This function returns the bundle mapping as stored in config, which may contain CURIE arrays. If the mapping is needed for output in a serialization format, such as RDFa, then getPreparedBundleMapping() should be used instead. Return value array The bundle mapping, or an empty array if there is no mapping. File core/modules/rdf/src/RdfMappingInterface.php, line 36 Class RdfMappingInterface Pr

ForumController::buildActionLinks

protected ForumController::buildActionLinks($vid, TermInterface $forum_term = NULL) Generates an action link to display at the top of the forum listing. Parameters string $vid: Vocabulary ID. \Drupal\taxonomy\TermInterface $forum_term: The term for which the links are to be built. Return value array Render array containing the links. File core/modules/forum/src/Controller/ForumController.php, line 288 Class ForumController Controller routines for forum routes. Namespace Drupal\forum\C

DrupalKernelInterface

The interface for DrupalKernel, the core of Drupal. This interface extends Symfony's KernelInterface and adds methods for responding to modules being enabled or disabled during its lifetime. Hierarchy interface \Symfony\Component\HttpKernel\HttpKernelInterface; interface \Symfony\Component\DependencyInjection\ContainerAwareInterfaceinterface \Drupal\Core\DrupalKernelInterface File core/lib/Drupal/Core/DrupalKernelInterface.php, line 15 Namespace Drupal\Core Members Name Modifiers

TaggedHandlersPass

Collects services to add/inject them into a consumer service. This mechanism allows a service to get multiple processor services injected, in order to establish an extensible architecture. It differs from the factory pattern in that processors are not lazily instantiated on demand; the consuming service receives instances of all registered processors when it is instantiated. Unlike a factory service, the consuming service is not ContainerAware. It differs from plugins in that all processors are

ConfigNamesMapper::$langcode

The language code of the language this mapper, if any. Type: string|null File core/modules/config_translation/src/ConfigNamesMapper.php, line 80 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code protected $langcode = NULL;

ConfigImportForm::create

public static ConfigImportForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service