SearchPageInterface::isIndexable

public SearchPageInterface::isIndexable() Determines if this search page entity is indexable. Return value bool TRUE if this search page entity is indexable, FALSE otherwise. File core/modules/search/src/SearchPageInterface.php, line 42 Class SearchPageInterface Provides an interface defining a search page entity. Namespace Drupal\search Code public function isIndexable();

DateFormatter::$requestStack

The request stack. Type: \Symfony\Component\HttpFoundation\RequestStack File core/lib/Drupal/Core/Datetime/DateFormatter.php, line 54 Class DateFormatter Provides a service to handle various date related functionality. Namespace Drupal\Core\Datetime Code protected $requestStack;

Schema::getFieldTypeMap

abstract public Schema::getFieldTypeMap() Returns a mapping of Drupal schema field names to DB-native field types. Because different field types do not map 1:1 between databases, Drupal has its own normalized field type names. This function returns a driver-specific mapping table from Drupal names to the native names for each database. Return value array An array of Schema API field types to driver-specific field types. File core/lib/Drupal/Core/Database/Schema.php, line 266 Class Schema

Element::isEmpty

public static Element::isEmpty(array $elements) Indicates whether the given element is empty. An element that only has #cache set is considered empty, because it will render to the empty string. Parameters array $elements: The element. Return value bool Whether the given element is empty. File core/lib/Drupal/Core/Render/Element.php, line 198 Class Element Provides helper methods for Drupal render elements. Namespace Drupal\Core\Render Code public static function isEmpty(array $eleme

TrustedRedirectResponse

Provides a redirect response which contains trusted URLs. Use this class in case you know that you want to redirect to an external URL. Hierarchy class \Symfony\Component\HttpFoundation\RedirectResponse extends \Symfony\Component\HttpFoundation\Response class \Drupal\Component\HttpFoundation\SecuredRedirectResponseclass \Drupal\Core\Routing\CacheableSecuredRedirectResponse implements CacheableResponseInterface uses CacheableResponseTraitclass \Drupal\Core\Routing\TrustedRedirectResponse uses Lo

BookUninstallValidator::$bookOutlineStorage

The book outline storage. Type: \Drupal\book\BookOutlineStorageInterface File core/modules/book/src/BookUninstallValidator.php, line 23 Class BookUninstallValidator Prevents book module from being uninstalled whilst any book nodes exist or there are any book outline stored. Namespace Drupal\book Code protected $bookOutlineStorage;

FormState::getCompleteForm

public &FormState::getCompleteForm() Returns a reference to the complete form array. Return value array The complete form array. Overrides FormStateInterface::getCompleteForm File core/lib/Drupal/Core/Form/FormState.php, line 907 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function &getCompleteForm() { return $this->complete_form; }

TwigExtension::setUrlGenerator

public TwigExtension::setUrlGenerator(UrlGeneratorInterface $url_generator) Sets the URL generator. Parameters \Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator. Return value $this File core/lib/Drupal/Core/Template/TwigExtension.php, line 89 Class TwigExtension A class providing Drupal Twig extensions. Namespace Drupal\Core\Template Code public function setUrlGenerator(UrlGeneratorInterface $url_generator) { $this->urlGenerator = $url_generator; ret

RedirectDestinationInterface::get

public RedirectDestinationInterface::get() Gets the destination as a path. To convert to a URL suitable for \Symfony\Component\HttpFoundation\RedirectResponse::__construct() use \Drupal\Core\Url::fromUserInput(\Drupal::destination()->get())->setAbsolute()->toString() Return value string File core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php, line 42 Class RedirectDestinationInterface Provides an interface for redirect destinations. Namespace Drupal\Core\Routing C

FormState::getStorage

public &FormState::getStorage() Returns the entire set of arbitrary data. Return value array The entire set of arbitrary data to store for this form. Overrides FormStateInterface::getStorage File core/lib/Drupal/Core/Form/FormState.php, line 735 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code public function &getStorage() { return $this->storage; }