Commit 472311d5 authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

Replace annotations 'no ui' with 'no_ui'.

parent 21a78c53
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* @ingroup views_display_plugins * @ingroup views_display_plugins
* *
* @todo: Wait until annotations/plugins support access mehtods. * @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( * @Plugin(
* id = "embed", * id = "embed",
......
...@@ -1386,7 +1386,7 @@ function views_fetch_plugin_names($type, $key = NULL, $base = array()) { ...@@ -1386,7 +1386,7 @@ function views_fetch_plugin_names($type, $key = NULL, $base = array()) {
continue; 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']; $plugins[$id] = $plugin['title'];
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment