RevisionableContentEntityBase

Provides a content entity with extended support for revisions. In addition to the parent entity class, base fields and methods for accessing the revision log message, revision owner and the revision creation time are provided. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Entity\ContentEntityBase implements \IteratorAggregate, ContentEntityInterfaceclass \Drupal\Core\Entity\Revisionabl

ReverseProxyMiddleware::__construct

public ReverseProxyMiddleware::__construct(HttpKernelInterface $http_kernel, Settings $settings) Constructs a ReverseProxyMiddleware object. Parameters \Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel. \Drupal\Core\Site\Settings $settings: The site settings. File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 36 Class ReverseProxyMiddleware Provides support for reverse proxies. Namespace Drupal\Core\StackMiddleware Code public

ReverseProxyMiddleware::setSettingsOnRequest

public static ReverseProxyMiddleware::setSettingsOnRequest(Request $request, Settings $settings) Sets reverse proxy settings on Request object. Parameters \Symfony\Component\HttpFoundation\Request $request: A Request instance. \Drupal\Core\Site\Settings $settings: The site settings. File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 58 Class ReverseProxyMiddleware Provides support for reverse proxies. Namespace Drupal\Core\StackMiddleware Code public static fun

ReverseProxyMiddleware::handle

public ReverseProxyMiddleware::handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) Handles a Request to convert it to a Response. When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance. Parameters Request $request A Request instance: int $type The type of the request: (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) bool $catch Whether to catch exceptions or not: Return value Re

ReverseProxyMiddleware::$settings

The site settings. Type: \Drupal\Core\Site\Settings File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 26 Class ReverseProxyMiddleware Provides support for reverse proxies. Namespace Drupal\Core\StackMiddleware Code protected $settings;

ReverseProxyMiddleware::$httpKernel

The decorated kernel. Type: \Symfony\Component\HttpKernel\HttpKernelInterface File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 19 Class ReverseProxyMiddleware Provides support for reverse proxies. Namespace Drupal\Core\StackMiddleware Code protected $httpKernel;

ReverseProxyMiddleware

Provides support for reverse proxies. Hierarchy class \Drupal\Core\StackMiddleware\ReverseProxyMiddleware implements HttpKernelInterface File core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 12 Namespace Drupal\Core\StackMiddleware Members Name Modifiers Type Description HttpKernelInterface::MASTER_REQUEST constant HttpKernelInterface::SUB_REQUEST constant ReverseProxyMiddleware::$httpKernel protected property The decorated kernel.

rest_requirements

rest_requirements($phase) Implements hook_requirements(). File core/modules/rest/rest.install, line 14 Install, update and uninstall functions for the rest module. Code function rest_requirements($phase) { $requirements = array(); if (version_compare(PHP_VERSION, '5.6.0', '>=') && version_compare(PHP_VERSION, '7', '<') && ini_get('always_populate_raw_post_data') != -1) { $requirements['always_populate_raw_post_data'] = array( 'title' => t('always_popula

RestripeCommand::__construct

public RestripeCommand::__construct($selector) Constructs a RestripeCommand object. Parameters string $selector: A CSS selector for the table to be restriped. File core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 34 Class RestripeCommand AJAX command for resetting the striping on a table. Namespace Drupal\Core\Ajax Code public function __construct($selector) { $this->selector = $selector; }

RestripeCommand::render

public RestripeCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/RestripeCommand.php, line 41 Class RestripeCommand AJAX command for resetting the striping on a table. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'restripe', 'selector' => $this->selector, ); }