ConfigImporterFieldPurger::initializeSandbox

protected static ConfigImporterFieldPurger::initializeSandbox(array &$context, ConfigImporter $config_importer) Initializes the batch context sandbox for processing field deletions. This calculates the number of steps necessary to purge all the field data and saves data for later use. Parameters array $context: The batch context. \Drupal\Core\Config\ConfigImporter $config_importer: The config importer. File core/modules/field/src/ConfigImporterFieldPurger.php, line 65 Class ConfigImpor

CsrfTokenGenerator::get

public CsrfTokenGenerator::get($value = '') Generates a token based on $value, the user session, and the private key. The generated token is based on the session of the current user. Normally, anonymous users do not have a session, so the generated token will be different on every page request. To generate a token for users without a session, manually start a session prior to calling this function. Parameters string $value: (optional) An additional value to base the token on. Return value str

ConfigNamesMapper::getTypeName

public ConfigNamesMapper::getTypeName() Returns the name of the type of data the mapper encapsulates. Return value string The name of the type of data the mapper encapsulates. Overrides ConfigMapperInterface::getTypeName File core/modules/config_translation/src/ConfigNamesMapper.php, line 462 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getTypeName() { return $this->t('Settings'); }

SelectInterface::havingConditions

public &SelectInterface::havingConditions() Gets a list of all conditions in the HAVING clause. This method returns by reference. That allows alter hooks to access the data structure directly and manipulate it before it gets compiled. Return value array An array of conditions. See also \Drupal\Core\Database\Query\ConditionInterface::conditions() File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 556 Class SelectInterface Interface definition for a Select Query object.

ConfigMapperInterface::getTitle

public ConfigMapperInterface::getTitle() Returns title of this translation page. Return value string The page title. File core/modules/config_translation/src/ConfigMapperInterface.php, line 20 Class ConfigMapperInterface Defines an interface for configuration mapper. Namespace Drupal\config_translation Code public function getTitle();

CommentLazyBuilders::$commentManager

Comment manager service. Type: \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentLazyBuilders.php, line 38 Class CommentLazyBuilders Defines a service for comment #lazy_builder callbacks. Namespace Drupal\comment Code protected $commentManager;

ProxyBuilder::buildUseStatements

protected ProxyBuilder::buildUseStatements() {@inheritdoc{ Overrides ProxyBuilder::buildUseStatements File core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php, line 15 Class ProxyBuilder Extend the component proxy builder by using the DependencySerialziationTrait. Namespace Drupal\Core\ProxyBuilder Code protected function buildUseStatements() { $output = parent::buildUseStatements(); $output .= 'use \Drupal\Core\DependencyInjection\DependencySerializationTrait;' . "\n\n"; return

Checkbox::processCheckbox

public static Checkbox::processCheckbox(&$element, FormStateInterface $form_state, &$complete_form) Sets the #checked property of a checkbox element. File core/lib/Drupal/Core/Render/Element/Checkbox.php, line 110 Class Checkbox Provides a form element for a single checkbox. Namespace Drupal\Core\Render\Element Code public static function processCheckbox(&$element, FormStateInterface $form_state, &$complete_form) { $value = $element['#value']; $return_value = $eleme

SessionHandler::destroy

public SessionHandler::destroy($sid) Destroys a session. Parameters string $sessionId Session ID, see http://php.net/function.session-id: Return value bool true on success, false on failure Overrides SessionHandlerInterface::destroy See also http://php.net/sessionhandlerinterface.destroy File core/lib/Drupal/Core/Session/SessionHandler.php, line 109 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code public function destroy($sid) { // Delete session da

CustomPageExceptionHtmlSubscriber::on404

public CustomPageExceptionHtmlSubscriber::on404(GetResponseForExceptionEvent $event) Handles a 404 error for HTML. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process. Overrides DefaultExceptionHtmlSubscriber::on404 File core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php, line 78 Class CustomPageExceptionHtmlSubscriber Exception subscriber for handling core custom HTML error pages. Namespace Drupal\Core\EventS