DrupalKernel::initializeSettings

protected DrupalKernel::initializeSettings(Request $request) Locate site path and initialize settings singleton. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. Throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException In case the host name in the request is not trusted. File core/lib/Drupal/Core/DrupalKernel.php, line 1011 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected func

PhpTransliteration::$genericMap

Non-language-specific transliteration tables. Array whose keys are the upper two bytes of the Unicode character, and whose values are an array of transliterations for each lower-two bytes character code. This is set up as needed in PhpTransliteration::replace() by calling PhpTransliteration::readGenericData(). Type: array File core/lib/Drupal/Component/Transliteration/PhpTransliteration.php, line 59 Class PhpTransliteration Implements transliteration without using the PECL extensions. Na

BookAdminEditForm::validateForm

public BookAdminEditForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/book/src/Form/BookAdminEditForm.php, line 84 Class BookAdminEditForm Provides a form for administering a single book's hierarchy. Namespace Drupal\book\Form Cod

AuthenticationSubscriber::__construct

public AuthenticationSubscriber::__construct(AuthenticationProviderInterface $authentication_provider, AccountProxyInterface $account_proxy) Constructs an authentication subscriber. Parameters \Drupal\Core\Authentication\AuthenticationProviderInterface $authentication_provider: An authentication provider. \Drupal\Core\Session\AccountProxyInterface $account_proxy: Account proxy. File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 59 Class AuthenticationSubscriber A

drupal_placeholder

drupal_placeholder($text) Formats text for emphasized display in a placeholder inside a sentence. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\SafeMarkup::format() or Twig's "placeholder" filter instead. Note this method should not be used to simply emphasize a string and therefore has few valid use-cases. Note also, that this method does not mark the string as safe. See also \Drupal\Component\Utility\SafeMarkup::format() File core/includes/

db_add_unique_key

db_add_unique_key($table, $name, $fields) Adds a unique key. Parameters $table: The table to be altered. $name: The name of the key. array $fields: An array of field names. Deprecated as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call addUniqueKey() on it. For example, $injected_database->schema()->addUniqueKey($table, $name, $fields); See also \Drupal\Core\Database\Sch

breakpoint.module

Manage breakpoints and breakpoint groups for responsive designs. File core/modules/breakpoint/breakpoint.module Functions Name Description breakpoint_help Implements hook_help(). breakpoint_themes_installed Implements hook_themes_installed() breakpoint_themes_uninstalled Implements hook_themes_uninstalled()

ConfigMapperInterface::getAddRouteName

public ConfigMapperInterface::getAddRouteName() Returns route name for the translation add form route. Return value string Route name for the mapper. File core/modules/config_translation/src/ConfigMapperInterface.php, line 98 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getAddRouteName();

ConfigTranslationBlockListBuilder::sortRows

public ConfigTranslationBlockListBuilder::sortRows($a, $b) Sorts an array by value. Parameters array $a: First item for comparison. array $b: Second item for comparison. Return value int The comparison result for uasort(). Overrides ConfigTranslationEntityListBuilder::sortRows File core/modules/config_translation/src/Controller/ConfigTranslationBlockListBuilder.php, line 95 Class ConfigTranslationBlockListBuilder Defines the config translation list builder for blocks. Namespace Drupal

SessionManager::$writeSafeHandler

The write safe session handler. @todo: This reference should be removed once all database queries are removed from the session manager class. Type: \Drupal\Core\Session\WriteSafeSessionHandlerInterface File core/lib/Drupal/Core/Session/SessionManager.php, line 68 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $writeSafeHandler;