QueryConditionTrait::isNotNull

public QueryConditionTrait::isNotNull($field) Sets a condition that the specified field be NOT NULL. Parameters $field: The name of the field to check. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. Overrides ConditionInterface::isNotNull File core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php, line 42 Class QueryConditionTrait Provides an implementation of ConditionInterface. Namespace Drupal\Core\Database\Query Code public function isNotNull

ExceptionHalJsonSubscriber::getHandledFormats

protected ExceptionHalJsonSubscriber::getHandledFormats() Specifies the request formats this subscriber will respond to. Return value array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats. Overrides ExceptionJsonSubscriber::getHandledFormats See also \Symfony\Component\HttpFoundation\Request File core/modules/hal/src/EventSubscriber/ExceptionHalJsonSubscriber.php, line 15

RouteProvider::$cache

The cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Routing/RouteProvider.php, line 71 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected $cache;

ContentTranslationMetadataWrapper::setOutdated

public ContentTranslationMetadataWrapper::setOutdated($outdated) Sets the translation outdated status. Parameters bool $outdated: TRUE if the translation is outdated, FALSE otherwise. Return value $this Overrides ContentTranslationMetadataWrapperInterface::setOutdated File core/modules/content_translation/src/ContentTranslationMetadataWrapper.php, line 65 Class ContentTranslationMetadataWrapper Base class for content translation metadata wrappers. Namespace Drupal\content_translation

SystemMenuOffCanvasForm::submitConfigurationForm

public SystemMenuOffCanvasForm::submitConfigurationForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm(). \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform(). Overrides PluginFormInterface::submitCo

CommentViewsData

Provides views data for the comment entity type. Hierarchy class \Drupal\views\EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterface uses StringTranslationTraitclass \Drupal\comment\CommentViewsData File core/modules/comment/src/CommentViewsData.php, line 10 Namespace Drupal\comment Members Name Modifiers Type Description CommentViewsData::getViewsData public function Returns views data for the entity type. Overrides EntityViewsData::getViewsData

DrupalKernel::initializeContainer

protected DrupalKernel::initializeContainer() Initializes the service container. Return value \Symfony\Component\DependencyInjection\ContainerInterface File core/lib/Drupal/Core/DrupalKernel.php, line 830 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function initializeContainer() { $this->containerNeedsDumping = FALSE; $session_started = FALSE; if (isset($this->container)) { // Save the id of the currently

ResourceResponseTrait::getResponseData

public ResourceResponseTrait::getResponseData() Returns response data that should be serialized. Return value mixed Response data that should be serialized. Overrides ResourceResponseInterface::getResponseData File core/modules/rest/src/ResourceResponseTrait.php, line 21 Class ResourceResponseTrait Namespace Drupal\rest Code public function getResponseData() { return $this->responseData; }

NodeForm::create

public static NodeForm::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 contain

DiffFormatter::format

public DiffFormatter::format(Diff $diff) Format a diff. Parameters \Drupal\Component\Diff\Diff $diff: A Diff object. Return value string The formatted output. File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 48 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code public function format(Diff $diff) { $xi = $yi = 1; $block = FALSE; $context = array(); $nlead = $this->leading_context_lines; $ntrail = $this->trailing_context_lines;