diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 97711f3..b376e00 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -251,13 +251,13 @@ public function destroy() { } /** - * Determine if this display is the 'default' display which contains + * Determines if this display is the 'default' display which contains * fallback settings. */ public function isDefaultDisplay() { return FALSE; } /** - * Determine if this display uses exposed filters, so the view + * Determines if this display uses exposed filters, so the view * will know whether or not to build them. */ public function usesExposed() { @@ -283,7 +283,7 @@ public function usesExposed() { } /** - * Determine if this display should display the exposed + * Determines if this display should display the exposed * filters widgets, so the view will know whether or not * to render them. * @@ -442,7 +442,7 @@ public function usesAreas() { } /** - * Allow displays to attach to other views. + * Allows displays to attach to other views. * * @param \Drupal\views\ViewExecutable $view * The views executable. @@ -797,7 +797,7 @@ public function getLinkDisplay() { } /** - * Return the base path to use for this display. + * Returns the base path to use for this display. * * This can be overridden for displays that do strange things * with the path. @@ -843,7 +843,7 @@ public function getOption($option) { } /** - * Determine if the display's style uses fields. + * Determines if the display's style uses fields. * * @return bool */ @@ -1079,7 +1079,7 @@ public function getArgumentsTokens() { } /** - * Provide the default summary for options in the views UI. + * Provides the default summary for options in the views UI. * * This output is returned as an array. */ @@ -1392,7 +1392,7 @@ public function optionsSummary(&$categories, &$options) { } /** - * Provide the default form for setting options. + * Provides the default form for setting options. */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -1880,7 +1880,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Validate the options form. + * Validates the options form. */ public function validateOptionsForm(&$form, FormStateInterface $form_state) { $section = $form_state->get('section'); @@ -1932,7 +1932,7 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Perform any necessary changes to the form values prior to storage. + * Performs any necessary changes to the form values prior to storage. * There is no need for this function to actually store the data. */ public function submitOptionsForm(&$form, FormStateInterface $form_state) { @@ -2085,7 +2085,7 @@ public function setOverride($section, $new_state = NULL) { } /** - * Inject anything into the query that the display handler needs. + * Injects anything into the query that the display handler needs. */ public function query() { foreach ($this->extenders as $extender) { @@ -2101,7 +2101,7 @@ public function query() { public function renderFilters() { } /** - * Return a rendered pager for the display. + * Returns a rendered pager for the display. * * @return bool */ @@ -2110,7 +2110,7 @@ public function renderPager() { } /** - * Render the 'more' link. + * Renders the 'more' link. */ public function renderMoreLink() { if ($this->isMoreEnabled() && ($this->useMoreAlways() || (!empty($this->view->pager) && $this->view->pager->hasMoreRecords()))) { @@ -2155,7 +2155,7 @@ public function getMenuLinks() { } /** - * Render this display. + * Renders this display. */ public function render() { $rows = (!empty($this->view->result) || $this->view->style_plugin->evenEmpty()) ? $this->view->style_plugin->render($this->view->result) : array(); @@ -2243,7 +2243,7 @@ public function elementPreRender(array $element) { } /** - * Render one of the available areas. + * Renders one of the available areas. * * @param string $area * Identifier of the specific area to render. @@ -2264,7 +2264,7 @@ public function renderArea($area, $empty = FALSE) { /** - * Determine if the user has access to this display of the view. + * Determines if the user has access to this display of the view. */ public function access(AccountInterface $account = NULL) { if (!isset($account)) { @@ -2539,7 +2539,7 @@ public function outputIsEmpty() { } /** - * Provide the block system with any exposed widget blocks for this display. + * Provides the block system with any exposed widget blocks for this display. */ public function getSpecialBlocks() { $blocks = array(); @@ -2557,7 +2557,7 @@ public function getSpecialBlocks() { } /** - * Render the exposed form as block. + * Renders the exposed form as block. * * @return string|null * The rendered exposed form as string or NULL otherwise.