ParamConversionEnhancer::$paramConverterManager

The parameter conversion manager. Type: \Drupal\Core\ParamConverter\ParamConverterManagerInterface File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 26 Class ParamConversionEnhancer Provides a route enhancer that handles parameter conversion. Namespace Drupal\Core\Routing\Enhancer Code protected $paramConverterManager;

ParamConversionEnhancer

Provides a route enhancer that handles parameter conversion. Hierarchy class \Drupal\Core\Routing\Enhancer\ParamConversionEnhancer implements RouteEnhancerInterface, EventSubscriberInterface File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 19 Namespace Drupal\Core\Routing\Enhancer Members Name Modifiers Type Description ParamConversionEnhancer::$paramConverterManager protected property The parameter conversion manager. ParamConversionEnhance

PageVariantInterface::setTitle

public PageVariantInterface::setTitle($title) Sets the title for the page being rendered. Parameters string|array $title: The page title: either a string for plain titles or a render array for formatted titles. Return value $this File core/lib/Drupal/Core/Display/PageVariantInterface.php, line 43 Class PageVariantInterface Provides an interface for PageDisplayVariant plugins. Namespace Drupal\Core\Display Code public function setTitle($title);

PageVariantInterface::setMainContent

public PageVariantInterface::setMainContent(array $main_content) Sets the main content for the page being rendered. Parameters array $main_content: The render array representing the main content. Return value $this File core/lib/Drupal/Core/Display/PageVariantInterface.php, line 32 Class PageVariantInterface Provides an interface for PageDisplayVariant plugins. Namespace Drupal\Core\Display Code public function setMainContent(array $main_content);

PageVariantInterface

Provides an interface for PageDisplayVariant plugins. Page display variants are a specific type of DisplayVariant, intended for "pages", which always have some main content to be rendered. Hence page display variants may choose to render that main content in a certain way: decorated in a certain way, laid out in a certain way, et cetera. For example, the \Drupal\block\Plugin\DisplayVariant\FullPageVariant page display variant is used by the Block module to control regions and output blocks plac

PageTitle::getInfo

public PageTitle::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/PageTitle.php, line 17 Class PageTitle Provides a render element for the title of an HTML page. Namespace Drupal\Core\Render\Elemen

PageTitle

Provides a render element for the title of an HTML page. This represents the title of the HTML page's body. Plugin annotation @RenderElement("page_title") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\Core\Render\Element\PageTitle File

pager_query_add_page

pager_query_add_page(array $query, $element, $index) Gets the URL query parameter array of a pager link. Adds to or adjusts the 'page' URL query parameter so that if you follow the link, you'll get page $index for pager $element on the page. The 'page' URL query parameter is a comma-delimited string, where each value is the target content page for the corresponding pager $element. For instance, if we have 5 pagers on a single page, and we want to have a link to a page that should display the 6t

pager_get_query_parameters

pager_get_query_parameters() Compose a URL query parameter array for pager links. Return value array A URL query parameter array that consists of all components of the current page request except for those pertaining to paging. File core/includes/pager.inc, line 147 Functions to aid in presenting database results as a set of pages. Code function pager_get_query_parameters() { $query = &drupal_static(__FUNCTION__); if (!isset($query)) { $query = UrlHelper::filterQueryParameters(\D

pager_find_page

pager_find_page($element = 0) Returns the current page being requested for display within a pager. Parameters int $element: (optional) An integer to distinguish between multiple pagers on one page. Return value int The number of the current requested page, within the pager represented by $element. This is determined from the URL query parameter \Drupal::request()->query->get('page'), or 0 by default. Note that this number may differ from the actual page being displayed. For example, if