Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b8dee6c8
Commit
b8dee6c8
authored
Jan 12, 2015
by
alexpott
Browse files
Issue
#2405367
by ashutoshsngh: Remove views_get_applicable_views()
parent
552c86ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/views.module
View file @
b8dee6c8
...
...
@@ -603,29 +603,6 @@ function views_hook_info() {
return
$hooks
;
}
/**
* Return a list of all views and display IDs that have a particular
* setting in their display's plugin settings.
*
* @param string $type
* A flag from the display plugin definitions (e.g, 'uses_menu_links').
*
* @return array
* A list of arrays containing the $view and $display_id.
* @code
* array(
* array($view, $display_id),
* array($view, $display_id),
* );
* @endcode
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
* Use \Drupal\views\Views::getApplicableViews().
*/
function
views_get_applicable_views
(
$type
)
{
return
Views
::
getApplicableViews
(
$type
);
}
/**
* Returns an array of all enabled views, as fully loaded $view objects.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment