FormState::$no_cache

If set to TRUE the form will NOT be cached, even if 'cache' is set. Type: bool File core/lib/Drupal/Core/Form/FormState.php, line 205 Class FormState Stores information about the state of a form. Namespace Drupal\Core\Form Code protected $no_cache;

ViewUI::hasTrustedData

public ViewUI::hasTrustedData() Gets whether on not the data is trusted. Return value bool TRUE if the configuration data is trusted, FALSE if not. Overrides ConfigEntityInterface::hasTrustedData File core/modules/views_ui/src/ViewUI.php, line 1311 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function hasTrustedData() { return $this->storage->hasTrustedData(); }

ViewPageController::handle

public ViewPageController::handle($view_id, $display_id, RouteMatchInterface $route_match) Handler a response for a given view and display. Parameters string $view_id: The ID of the view string $display_id: The ID of the display. \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. Return value null|void File core/modules/views/src/Routing/ViewPageController.php, line 24 Class ViewPageController Defines a page controller to execute and render a view. Namespace Drupa

ThemeRegistry::get

public ThemeRegistry::get($key) Gets value from the cache. Parameters string $key: Key that identifies the data. Return value mixed The corresponding cache data. Overrides CacheCollector::get File core/lib/Drupal/Core/Utility/ThemeRegistry.php, line 105 Class ThemeRegistry Builds the run-time theme registry. Namespace Drupal\Core\Utility Code public function get($key) { // If the offset is set but empty, it is a registered theme hook that has // not yet been requested. Offsets th

HtmlResponseAttachmentsProcessor::setHeaders

protected HtmlResponseAttachmentsProcessor::setHeaders(HtmlResponse $response, array $headers) Sets headers on a response object. Parameters \Drupal\Core\Render\HtmlResponse $response: The HTML response to update. array $headers: The headers to set, as an array. The items in this array should be as follows: The header name. The header value. (optional) Whether to replace a current value with the new one, or add it to the others. If the value is not replaced, it will be appended, resulting in a

ArrayElement::buildDataDefinition

protected ArrayElement::buildDataDefinition($definition, $value, $key) Creates a new data definition object from a type definition array and actual configuration data. Parameters array $definition: The base type definition array, for which a data definition should be created. $value: The value of the configuration element. string $key: The key of the contained element. Return value \Drupal\Core\TypedData\DataDefinitionInterface File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 15

Feed::setTitle

public Feed::setTitle($title) Sets the title of the feed. Parameters string $title: The short title of the feed. Return value \Drupal\aggregator\FeedInterface The class instance that this method is called on. Overrides FeedInterface::setTitle File core/modules/aggregator/src/Entity/Feed.php, line 304 Class Feed Defines the aggregator feed entity class. Namespace Drupal\aggregator\Entity Code public function setTitle($title) { $this->set('title', $title); return $this; }

BanIpManager::findById

public BanIpManager::findById($ban_id) Finds a banned IP address by its ID. Parameters int $ban_id: The ID for a banned IP address. Return value string|false Either the banned IP address or FALSE if none exist with that ID. Overrides BanIpManagerInterface::findById File core/modules/ban/src/BanIpManager.php, line 65 Class BanIpManager Ban IP manager. Namespace Drupal\ban Code public function findById($ban_id) { return $this->connection->query("SELECT ip FROM {ban_ip} WHERE ii

CommentController::$commentManager

The comment manager service. Type: \Drupal\comment\CommentManagerInterface File core/modules/comment/src/Controller/CommentController.php, line 40 Class CommentController Controller for the comment entity. Namespace Drupal\comment\Controller Code protected $commentManager;

EntityDisplayBase::__construct

public EntityDisplayBase::__construct(array $values, $entity_type) Constructs an Entity object. Parameters array $values: An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. string $entity_type: The type of the entity to create. Overrides ConfigEntityBase::__construct File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 120 Class EntityDisplayBase Provides a common base class for entity view and form displays. Na