BareHtmlPageRenderer::__construct

public BareHtmlPageRenderer::__construct(RendererInterface $renderer, AttachmentsResponseProcessorInterface $html_response_attachments_processor) Constructs a new BareHtmlPageRenderer. Parameters \Drupal\Core\Render\RendererInterface $renderer: The renderer service. \Drupal\Core\Render\AttachmentsResponseProcessorInterface $html_response_attachments_processor: The HTML response attachments processor service. File core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 32 Class BareHtmlP

BareHtmlPageRenderer::renderBarePage

public BareHtmlPageRenderer::renderBarePage(array $content, $title, $page_theme_property, array $page_additions = []) Renders a bare page. Parameters array $content: The main content to render in the 'content' region. string $title: The title for this maintenance page. string $page_theme_property: The #theme property to set on #type 'page'. array $page_additions: Additional regions to add to the page. May also be used to pass the #show_messages property for #type 'page'. Return value \Drupal\

BareHtmlPageRenderer::$renderer

The renderer service. Type: \Drupal\Core\Render\Renderer File core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 15 Class BareHtmlPageRenderer Default bare HTML page renderer. Namespace Drupal\Core\Render Code protected $renderer;

BareHtmlPageRenderer::$htmlResponseAttachmentsProcessor

The HTML response attachments processor service. Type: \Drupal\Core\Render\AttachmentsResponseProcessorInterface File core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 22 Class BareHtmlPageRenderer Default bare HTML page renderer. Namespace Drupal\Core\Render Code protected $htmlResponseAttachmentsProcessor;

BareHtmlPageRenderer

Default bare HTML page renderer. Hierarchy class \Drupal\Core\Render\BareHtmlPageRenderer implements BareHtmlPageRendererInterface File core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 8 Namespace Drupal\Core\Render Members Name Modifiers Type Description BareHtmlPageRenderer::$htmlResponseAttachmentsProcessor protected property The HTML response attachments processor service. BareHtmlPageRenderer::$renderer protected property The renderer service. Ba

ban_schema

ban_schema() Implements hook_schema(). File core/modules/ban/ban.install, line 11 Install, update and uninstall functions for the Ban module. Code function ban_schema() { $schema['ban_ip'] = array( 'description' => 'Stores banned IP addresses.', 'fields' => array( 'iid' => array( 'description' => 'Primary Key: unique ID for IP addresses.', 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE, ), 'ip' =>

ban_help

ban_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/ban/ban.module, line 13 Allows to ban individual IP addresses. Code function ban_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.ban': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Ban module allows administrators to ban visits to their site from individual IP addresses. For

BanIpManagerInterface::unbanIp

public BanIpManagerInterface::unbanIp($id) Unbans an IP address. Parameters string $id: The IP address to unban. File core/modules/ban/src/BanIpManagerInterface.php, line 43 Class BanIpManagerInterface Provides an interface defining a BanIp manager. Namespace Drupal\ban Code public function unbanIp($id);

BanIpManagerInterface::isBanned

public BanIpManagerInterface::isBanned($ip) Returns if this IP address is banned. Parameters string $ip: The IP address to check. Return value bool TRUE if the IP address is banned, FALSE otherwise. File core/modules/ban/src/BanIpManagerInterface.php, line 19 Class BanIpManagerInterface Provides an interface defining a BanIp manager. Namespace Drupal\ban Code public function isBanned($ip);

BanIpManagerInterface::findById

public BanIpManagerInterface::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. File core/modules/ban/src/BanIpManagerInterface.php, line 54 Class BanIpManagerInterface Provides an interface defining a BanIp manager. Namespace Drupal\ban Code public function findById($ban_id);