diff --git a/core/modules/rest/src/Plugin/views/display/RestExport.php b/core/modules/rest/src/Plugin/views/display/RestExport.php index 9dfa303..cedaa2f 100644 --- a/core/modules/rest/src/Plugin/views/display/RestExport.php +++ b/core/modules/rest/src/Plugin/views/display/RestExport.php @@ -14,7 +14,7 @@ use Drupal\Core\Render\RendererInterface; use Drupal\Core\State\StateInterface; use Drupal\Core\Routing\RouteProviderInterface; -use Drupal\views\Plugin\views\display\DisplayBuildResponseInterface; +use Drupal\views\Plugin\views\display\ResponseDisplayPluginInterface; use Drupal\views\ViewExecutable; use Drupal\views\Plugin\views\display\PathPluginBase; use Symfony\Component\DependencyInjection\ContainerInterface; @@ -34,7 +34,7 @@ * returns_response = TRUE * ) */ -class RestExport extends PathPluginBase implements DisplayBuildResponseInterface { +class RestExport extends PathPluginBase implements ResponseDisplayPluginInterface { /** * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesAJAX. diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php b/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php index 9e4556e..d1f8286 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php @@ -473,7 +473,7 @@ public function execute(); * @param string $view_id * The view ID. * @param string $display_id - * THe display ID. + * The display ID. * @param array $args * The view arguments. * diff --git a/core/modules/views/src/Plugin/views/display/Feed.php b/core/modules/views/src/Plugin/views/display/Feed.php index a747e9a..eee69dd 100644 --- a/core/modules/views/src/Plugin/views/display/Feed.php +++ b/core/modules/views/src/Plugin/views/display/Feed.php @@ -30,7 +30,7 @@ * returns_response = TRUE * ) */ -class Feed extends PathPluginBase implements DisplayBuildResponseInterface { +class Feed extends PathPluginBase implements ResponseDisplayPluginInterface { /** * Whether the display allows the use of AJAX or not. diff --git a/core/modules/views/src/Plugin/views/display/Page.php b/core/modules/views/src/Plugin/views/display/Page.php index 7bc93d2..fa9ce1f 100644 --- a/core/modules/views/src/Plugin/views/display/Page.php +++ b/core/modules/views/src/Plugin/views/display/Page.php @@ -113,7 +113,7 @@ public static function &setPageRenderArray(array &$element = NULL) { * Gets the current views page render array. * * @return array - * The page render. + * The page render array. */ public static function &getPageRenderArray() { return static::$pageRenderArray; diff --git a/core/modules/views/src/Plugin/views/display/ResponseDisplayPluginInterface.php b/core/modules/views/src/Plugin/views/display/ResponseDisplayPluginInterface.php index 4f9a0d7..e03e409 100644 --- a/core/modules/views/src/Plugin/views/display/ResponseDisplayPluginInterface.php +++ b/core/modules/views/src/Plugin/views/display/ResponseDisplayPluginInterface.php @@ -19,14 +19,14 @@ * Builds up a response with the rendered view as content. * * @param string $view_id - * The view ID + * The view ID. * @param string $display_id - * The display ID + * The display ID. * @param array $args - * The arguments of the view + * The arguments of the view. * * @return \Symfony\Component\HttpFoundation\Response - * The build response. + * The built response. */ public static function buildResponse($view_id, $display_id, array $args = []); diff --git a/core/modules/views/src/Routing/ViewPageController.php b/core/modules/views/src/Routing/ViewPageController.php index f6026ad..eb9bd05 100644 --- a/core/modules/views/src/Routing/ViewPageController.php +++ b/core/modules/views/src/Routing/ViewPageController.php @@ -98,7 +98,7 @@ public function handle($view_id, $display_id, RouteMatchInterface $route_match) /** @var \Drupal\views\Plugin\views\display\DisplayPluginBase $class */ $class = $route->getOption('_view_display_plugin_class'); if ($route->getOption('returns_response')) { - /** @var \Drupal\views\Plugin\views\display\DisplayBuildResponseInterface $class */ + /** @var \Drupal\views\Plugin\views\display\ResponseDisplayPluginInterface $class */ return $class::buildResponse($view_id, $display_id, $args); } else {