Skip to content
Snippets Groups Projects
Commit 472311d5 authored by Daniel Wehner's avatar Daniel Wehner Committed by Tim Plunkett
Browse files

Replace annotations 'no ui' with 'no_ui'.

parent 21a78c53
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
......@@ -16,7 +16,7 @@
* @ingroup views_display_plugins
*
* @todo: Wait until annotations/plugins support access mehtods.
* no ui => !config('views.settings')->get('ui.show.display_embed'),
* no_ui => !config('views.settings')->get('ui.show.display_embed'),
*
* @Plugin(
* id = "embed",
......
......@@ -1386,7 +1386,7 @@ function views_fetch_plugin_names($type, $key = NULL, $base = array()) {
continue;
}
if (empty($plugin['no ui']) && (empty($base) || empty($plugin['base']) || array_intersect($base, $plugin['base']))) {
if (empty($plugin['no_ui']) && (empty($base) || empty($plugin['base']) || array_intersect($base, $plugin['base']))) {
$plugins[$id] = $plugin['title'];
}
}
......
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