FeedInterface

Provides an interface defining an aggregator feed entity. Hierarchy interface \Drupal\Core\Entity\FieldableEntityInterface; interface \Drupal\Core\Entity\RevisionableInterface; interface \Drupal\Core\TypedData\TranslatableInterfaceinterface \Drupal\Core\Entity\ContentEntityInterface extends \Traversableinterface \Drupal\aggregator\FeedInterface File core/modules/aggregator/src/FeedInterface.php, line 10 Namespace Drupal\aggregator Members Name Modifiers Type Description Acce

ViewUI::$live_preview

Is the view run in a context of the preview in the admin interface. Type: bool File core/modules/views_ui/src/ViewUI.php, line 85 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $live_preview;

node_node_access

node_node_access(NodeInterface $node, $op, $account) Implements hook_node_access(). Related topics Node access rights The node access system determines who can do what to which nodes. File core/modules/node/node.module, line 903 The core module that allows content to be submitted to the site. Code function node_node_access(NodeInterface $node, $op, $account) { $type = $node->bundle(); switch ($op) { case 'create': return AccessResult::allowedIfHasPermission($account, 'crea

FieldFormatter::$field_types

An array of field types the formatter supports. Type: array File core/lib/Drupal/Core/Field/Annotation/FieldFormatter.php, line 64 Class FieldFormatter Defines a FieldFormatter annotation object. Namespace Drupal\Core\Field\Annotation Code public $field_types = array();

ExceptionJsonSubscriber::on400

public ExceptionJsonSubscriber::on400(GetResponseForExceptionEvent $event) Handles a 400 error for JSON. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process. File core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php, line 36 Class ExceptionJsonSubscriber Default handling for JSON errors. Namespace Drupal\Core\EventSubscriber Code public function on400(GetResponseForExceptionEvent $event) { $response = new JsonResponse(

Search interface

The Drupal search interface manages a global search mechanism. Modules may plug into this system to provide searches of different types of data. Most of the system is handled by the Search module, so this must be enabled for all of the search features to work. There are two ways to interact with the search system: Specifically for searching nodes, you can implement hook_node_update_index() and hook_node_search_result(). However, note that the search system already indexes all visible output of

FormattableMarkup::$arguments

The arguments to replace placeholders with. Type: array File core/lib/Drupal/Component/Render/FormattableMarkup.php, line 69 Class FormattableMarkup Formats a string for HTML display by replacing variable placeholders. Namespace Drupal\Component\Render Code protected $arguments = [];

_search_index_truncate

_search_index_truncate(&$text) Helper function for array_walk in search_index_split. File core/modules/search/search.module, line 382 Enables site-wide keyword searching. Code function _search_index_truncate(&$text) { // Use a static array to avoid re-truncating text we've done before. // The same words may often be passed in during excerpt generation. static $truncated = array(); if (isset($truncated[$text])) { $text = $truncated[$text]; return; } // If we didn't

EntityForm::setOperation

public EntityForm::setOperation($operation) Sets the operation for this form. Parameters string $operation: The name of the current operation. Return value $this Overrides EntityFormInterface::setOperation File core/lib/Drupal/Core/Entity/EntityForm.php, line 61 Class EntityForm Base class for entity forms. Namespace Drupal\Core\Entity Code public function setOperation($operation) { // If NULL is passed, do not overwrite the operation. if ($operation) { $this->operation =

ExceptionJsonSubscriber::on403

public ExceptionJsonSubscriber::on403(GetResponseForExceptionEvent $event) Handles a 403 error for JSON. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process. File core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php, line 47 Class ExceptionJsonSubscriber Default handling for JSON errors. Namespace Drupal\Core\EventSubscriber Code public function on403(GetResponseForExceptionEvent $event) { $response = new JsonResponse(