Commit a1e6b280 authored by tim.plunkett's avatar tim.plunkett
Browse files

Switch the remaining 'uses FOO' to 'uses_FOO'.

parent c8b122ee
......@@ -681,7 +681,7 @@ function default_summary_form(&$form, &$form_state) {
);
foreach ($summary_plugins as $id => $info) {
if (empty($info['uses options'])) {
if (empty($info['uses_options'])) {
continue;
}
$plugin = $this->get_plugin('style', $id);
......
......@@ -67,7 +67,7 @@ function init(&$view, &$display, $options = NULL) {
);
$this->definition += array(
'uses grouping' => TRUE,
'uses_grouping' => TRUE,
);
}
......@@ -191,7 +191,7 @@ function options_form(&$form, &$form_state) {
// themselves from being groupable by setting their "use grouping" definiton
// key to FALSE.
// @TODO: Document "uses grouping" in docs.php when docs.php is written.
if ($this->uses_fields() && $this->definition['uses grouping']) {
if ($this->uses_fields() && $this->definition['uses_grouping']) {
$options = array('' => t('- None -'));
$field_labels = $this->display->handler->get_field_labels(TRUE);
$options += $field_labels;
......
......@@ -247,7 +247,7 @@
* 'path' => drupal_get_path('module', 'views') . '/modules/node', // not necessary for most modules
* 'theme' => 'views_view_row_node',
* 'base' => array('node'), // only works with 'node' as base.
* 'uses options' => TRUE,
* 'uses_options' => TRUE,
* 'type' => 'normal',
* ),
* @endcode
......@@ -537,7 +537,7 @@ function hook_views_data_alter(&$data) {
* perspective.
* - no_ui: Set to TRUE to denote that the plugin doesn't appear to be
* selectable in the ui, though on the api side they still exists.
* - uses options: Set to TRUE to denote that the plugin has an additional
* - uses_options: Set to TRUE to denote that the plugin has an additional
* options form.
* - help: A short help text, wrapped in t() used as description on the plugin settings form.
* - help topic: The name of an entry by advanced help for the plugin.
......
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