Skip to content
Snippets Groups Projects
Commit 4406aa9f authored by Tim Plunkett's avatar Tim Plunkett
Browse files

Issue #1792860 by tim.plunkett, dawehner: Move Views UI into its own module.

parent df6e7c15
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Showing
with 24 additions and 499 deletions
......@@ -8,7 +8,7 @@
namespace Drupal\views\Plugin\views\wizard;
use Drupal\views\ViewStorage;
use Drupal\views\ViewUI;
use Drupal\views_ui\ViewUI;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\Plugin\views\PluginBase;
use Drupal\views\Plugin\views\wizard\WizardInterface;
......@@ -1029,7 +1029,7 @@ protected function set_override_options(array $options, DisplayPluginBase $displ
* @param bool $unset
* Should the view be removed from the list of validated views.
*
* @return Drupal\views\ViewUI $view
* @return Drupal\views_ui\ViewUI $view
* The validated view object.
*/
protected function retrieve_validated_view(array $form, array &$form_state, $unset = TRUE) {
......@@ -1050,7 +1050,7 @@ protected function retrieve_validated_view(array $form, array &$form_state, $uns
* The full wizard form array.
* @param array $form_state
* The current state of the wizard form.
* @param Drupal\views\ViewUI $view
* @param Drupal\views_ui\ViewUI $view
* The validated view object.
*/
protected function set_validated_view(array $form, array &$form_state, ViewUI $view) {
......
......@@ -8,6 +8,7 @@
namespace Drupal\views;
use Drupal\Core\Config\Entity\ConfigEntityBase;
use Drupal\views_ui\ViewUI;
/**
* Defines a ViewStorage configuration entity class.
......@@ -130,7 +131,7 @@ public function setExecutable(ViewExecutable $executable) {
* @param bool $reset
* Get a new Drupal\views\ViewExecutable instance.
* @param bool $ui
* If this should return Drupal\views\ViewUI instead.
* If this should return Drupal\views_ui\ViewUI instead.
*
* @return Drupal\views\ViewExecutable
* The executable version of this view.
......
......@@ -1082,14 +1082,6 @@ function theme_views_mini_pager($vars) {
}
}
/**
* Generic <div> container function.
*/
function theme_views_container($variables) {
$element = $variables['element'];
return '<div' . new Attribute($element['#attributes']) . '>' . $element['#children'] . '</div>';
}
/**
* @defgroup views_templates Views template files
* @{
......
......@@ -88,7 +88,7 @@ function views_entity_info() {
'label' => t('View'),
'entity class' => 'Drupal\views\ViewStorage',
'controller class' => 'Drupal\views\ViewStorageController',
'list controller class' => 'Drupal\views\ViewListController',
'list controller class' => 'Drupal\views_ui\ViewListController',
'list path' => 'admin/structure/views',
'form controller class' => array(
'default' => 'Drupal\node\NodeFormController',
......
This diff is collapsed.
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment