ContextualValidatorInterface

Extends the contextual validator validate method by a new parameter. Hierarchy interface \Symfony\Component\Validator\Validator\ContextualValidatorInterfaceinterface \Drupal\Core\TypedData\Validation\ContextualValidatorInterface File core/lib/Drupal/Core/TypedData/Validation/ContextualValidatorInterface.php, line 10 Namespace Drupal\Core\TypedData\Validation Members Name Modifiers Type Description ContextualValidatorInterface::atPath public function Appends the given pa

views.theme.inc

Preprocessors and helper functions to make theming easier. File core/modules/views/views.theme.inc Functions Name Description template_preprocess_views_exposed_form Prepares variables for views exposed form templates. template_preprocess_views_mini_pager Prepares variables for views mini-pager templates. template_preprocess_views_view Prepares variables for view templates. template_preprocess_views_view_field Prepares variables for views field templates. template_preproc

outside_in_css_alter

outside_in_css_alter(&$css, AttachedAssetsInterface $assets) Implements hook_css_alter(). File core/modules/outside_in/outside_in.module, line 148 Allows configuring blocks and other configuration from the site front-end. Code function outside_in_css_alter(&$css, AttachedAssetsInterface $assets) { // @todo Remove once conditional ordering is introduced in // https://www.drupal.org/node/1945262. $path = drupal_get_path('module', 'outside_in') . '/css/outside_in.theme.css'; if

DbDumpCommand::getTemplate

protected DbDumpCommand::getTemplate() The script template. Return value string The template for the generated PHP script. File core/lib/Drupal/Core/Command/DbDumpCommand.php, line 372 Class DbDumpCommand Provides a command to dump the current database to a script. Namespace Drupal\Core\Command Code protected function getTemplate() { // The template contains an instruction for the file to be ignored by PHPCS. // This is because the files can be huge and coding standards are // i

ContactFormInterface::getRedirectPath

public ContactFormInterface::getRedirectPath() Returns the path for redirect. Return value string The redirect path. File core/modules/contact/src/ContactFormInterface.php, line 34 Class ContactFormInterface Provides an interface defining a contact form entity. Namespace Drupal\contact Code public function getRedirectPath();

outside_in_element_info_alter

outside_in_element_info_alter(&$type) Implements hook_element_info_alter(). File core/modules/outside_in/outside_in.module, line 63 Allows configuring blocks and other configuration from the site front-end. Code function outside_in_element_info_alter(&$type) { if (isset($type['page'])) { $type['page']['#theme_wrappers']['outside_in_page_wrapper'] = ['#weight' => -1000]; } }

Timer::$timers

File core/lib/Drupal/Component/Utility/Timer.php, line 12 Class Timer Provides helpers to use timers throughout a request. Namespace Drupal\Component\Utility Code static protected $timers = array();

Memory::releaseItem

public Memory::releaseItem($item) Releases an item that the worker could not process. Another worker can come in and process it before the timeout expires. Parameters $item: The item returned by \Drupal\Core\Queue\QueueInterface::claimItem(). Return value bool TRUE if the item has been released, FALSE otherwise. Overrides QueueInterface::releaseItem File core/lib/Drupal/Core/Queue/Memory.php, line 84 Class Memory Static queue implementation. Namespace Drupal\Core\Queue Code public fu

RfcLoggerTrait::emergency

public RfcLoggerTrait::emergency($message, array $context = array()) System is unusable. Parameters string $message: array $context: Return value null Overrides LoggerInterface::emergency File core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 20 Class RfcLoggerTrait A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Namespace Drupal\Core\Logger Code public function emergency($message, array $context = array()) { $this->log(RfcLogLevel::EMERGENCY, $message

PoStreamReader::getHeader

public PoStreamReader::getHeader() Get header metadata. Return value \Drupal\Component\Gettext\PoHeader $header Header instance representing metadata in a PO header. Overrides PoMetadataInterface::getHeader File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 117 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code public function getHeader() { return $this->_header; }