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 @@
* @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'];
}
}
......
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