Issue #1805996 by xjm: Remove comment separators that do not conform to core commenting standards.

8.0.x
xjm 2012-10-15 12:19:39 -05:00 committed by Tim Plunkett
parent badda87b58
commit 739f4593b5
15 changed files with 7 additions and 63 deletions

View File

@ -148,9 +148,6 @@ class Sql extends QueryPluginBase {
);
}
// ----------------------------------------------------------------
// Utility methods to set flags and data.
/**
* Set the view to be distinct (per base field).
*
@ -262,9 +259,6 @@ class Sql extends QueryPluginBase {
form_set_value($element, $value, $form_state);
}
// ----------------------------------------------------------------
// Table/join adding
/**
* A relationship is an alternative endpoint to a series of table
* joins. Relationships must be aliases of the primary table and

View File

@ -11,7 +11,6 @@
* Implements hook_views_data().
*/
function aggregator_views_data() {
// ----------------------------------------------------------------------
// Main Aggregator Item base table
// Define the base group of this table. Fields that don't
@ -25,7 +24,6 @@ function aggregator_views_data() {
'help' => t("Aggregator items are imported from external RSS and Atom news feeds."),
);
// ----------------------------------------------------------------
// Fields
// iid
@ -167,7 +165,6 @@ function aggregator_views_data() {
),
);
// ----------------------------------------------------------------------
// Aggregator feed table
$data['aggregator_feed']['table']['group'] = t('Aggregator feed');
@ -299,7 +296,6 @@ function aggregator_views_data() {
),
);
// ----------------------------------------------------------------------
// Aggregator category feed table
$data['aggregator_category_feed']['table']['join'] = array(
@ -309,7 +305,6 @@ function aggregator_views_data() {
),
);
// ----------------------------------------------------------------------
// Aggregator category table
$data['aggregator_category']['table']['group'] = t('Aggregator category');

View File

@ -11,7 +11,6 @@
* Implements hook_views_data().
*/
function book_views_data() {
// ----------------------------------------------------------------------
// book table
$data['book']['table']['group'] = t('Book');
@ -34,7 +33,6 @@ function book_views_data() {
// and use the node: nid argument.
);
// ----------------------------------------------------------------------
// menu_links table -- this is aliased so we can get just book relations
// Book hierarchy and weight data are now in {menu_links}.
@ -86,7 +84,6 @@ function book_views_data() {
),
);
// ----------------------------------------------------------------------
// book_parent table -- this is an alias of the book table which
// represents the parent book.

View File

@ -385,7 +385,6 @@ function comment_views_data() {
),
);
// ----------------------------------------------------------------------
// node_comment_statistics table
// define the group

View File

@ -13,7 +13,6 @@
function file_views_data() {
$data = array();
// ----------------------------------------------------------------------
// file_managed table
$data['file_managed']['table']['group'] = t('File');
@ -178,7 +177,6 @@ function file_views_data() {
),
);
// ----------------------------------------------------------------------
// file_usage table
$data['file_usage']['table']['group'] = t('File Usage');

View File

@ -11,7 +11,6 @@
* Implements hook_views_data().
*/
function filter_views_data() {
// ----------------------------------------------------------------------
// filter_format table
// Have not defined $data['filter_formats']['table']['group'] since

View File

@ -116,7 +116,6 @@ function locale_views_data() {
),
);
// ----------------------------------------------------------------------
// Locales target table
// Define the base group of this table. Fields that don't

View File

@ -13,7 +13,6 @@ use Drupal\views\Analyzer;
* Implements hook_views_data().
*/
function node_views_data() {
// ----------------------------------------------------------------
// node table -- basic table information.
// Define the base group of this table. Fields that don't
@ -417,7 +416,6 @@ function node_views_data() {
),
);
// ----------------------------------------------------------------------
// Content revision table
// Define the base group of this table. Fields that don't
@ -618,7 +616,6 @@ function node_views_data() {
),
);
// ----------------------------------------------------------------------
// Node access table
// Define the base group of this table. Fields that don't
@ -643,7 +640,6 @@ function node_views_data() {
),
);
// ----------------------------------------------------------------------
// History table
// We're actually defining a specific instance of the table, so let's

View File

@ -22,7 +22,6 @@ function poll_views_data() {
),
);
// ----------------------------------------------------------------
// Fields
// poll active status

View File

@ -55,7 +55,6 @@ function search_views_data() {
),
);
// ----------------------------------------------------------------
// Fields
// score

View File

@ -13,7 +13,6 @@
function statistics_views_data() {
// Basic table information.
// ----------------------------------------------------------------
// node_counter table
$data['node_counter']['table']['group'] = t('Content statistics');
@ -77,7 +76,6 @@ function statistics_views_data() {
),
);
// ----------------------------------------------------------------
// accesslog table
$data['accesslog']['table']['group'] = t('Access log');

View File

@ -13,7 +13,6 @@
function taxonomy_views_data() {
$data = array();
// ----------------------------------------------------------------------
// taxonomy_vocabulary table
$data['taxonomy_vocabulary']['table']['group'] = t('Taxonomy vocabulary');
@ -96,7 +95,6 @@ function taxonomy_views_data() {
),
);
// ----------------------------------------------------------------------
// taxonomy_term_data table
$data['taxonomy_term_data']['table']['group'] = t('Taxonomy term');
@ -264,7 +262,6 @@ function taxonomy_views_data() {
),
);
// ----------------------------------------------------------------------
// taxonomy_index table
$data['taxonomy_index']['table']['group'] = t('Taxonomy term');
@ -323,7 +320,6 @@ function taxonomy_views_data() {
),
);
// ----------------------------------------------------------------------
// term_hierarchy table
$data['taxonomy_term_hierarchy']['table']['group'] = t('Taxonomy term');

View File

@ -11,7 +11,6 @@
* Implements hook_views_data().
*/
function user_views_data() {
// ----------------------------------------------------------------
// users table
// Define the base group of this table. Fields that don't
@ -344,7 +343,6 @@ function user_views_data() {
),
);
// ----------------------------------------------------------------------
// users_roles table
$data['users_roles']['table']['group'] = t('User');
@ -379,7 +377,6 @@ function user_views_data() {
),
);
// ----------------------------------------------------------------------
// role table
$data['role']['table']['join'] = array(
@ -419,7 +416,6 @@ function user_views_data() {
),
);
// ----------------------------------------------------------------------
// authmap table
$data['authmap']['table']['group'] = t('User');

View File

@ -1116,8 +1116,6 @@ function views_check_roles($rids, $account = NULL) {
$roles[] = $account->uid ? DRUPAL_AUTHENTICATED_RID : DRUPAL_ANONYMOUS_RID;
return user_access('access all views', $account) || array_intersect(array_filter($rids), $roles);
}
// ------------------------------------------------------------------
// Functions to help identify views that are running or ran
/**
* Set the current 'page view' that is being displayed so that it is easy
@ -1170,9 +1168,6 @@ function &views_get_current_view() {
return views_set_current_view();
}
// ------------------------------------------------------------------
// Include file helpers
/**
* Include views .inc files as necessary.
*/
@ -1268,9 +1263,6 @@ function views_include_handlers($reset = FALSE) {
$finished = TRUE;
}
// -----------------------------------------------------------------------
// Views handler functions
/**
* Fetch a handler from the data cache.
*
@ -1338,9 +1330,6 @@ function views_fetch_data($table = NULL, $move = TRUE, $reset = FALSE) {
return _views_fetch_data($table, $move, $reset);
}
// -----------------------------------------------------------------------
// Views plugin functions
/**
* Fetch a list of all base tables available
*
@ -1446,9 +1435,6 @@ function views_get_enabled_display_extenders() {
return drupal_map_assoc($enabled);
}
// -----------------------------------------------------------------------
// Views database functions
/**
* Create an empty view to work with.
*
@ -1693,9 +1679,6 @@ function views_get_view($name) {
}
}
// ------------------------------------------------------------------
// Views form (View with form elements)
/**
* Returns TRUE if the passed-in view contains handlers with views form
* implementations, FALSE otherwise.
@ -1882,9 +1865,6 @@ function views_form_views_form_submit($form, &$form_state) {
}
}
// ------------------------------------------------------------------
// Exposed widgets form
/**
* Form builder for the exposed widgets form.
*
@ -2043,9 +2023,6 @@ function views_exposed_form_cache($views_name, $display_name, $form_output = NUL
return empty($views_exposed[$views_name][$display_name]) ? FALSE : $views_exposed[$views_name][$display_name];
}
// ------------------------------------------------------------------
// Misc helpers
/**
* Build a list of theme function names for use most everywhere.
*/

View File

@ -725,9 +725,14 @@ function views_ui_standard_display_dropdown(&$form, &$form_state, $section) {
}
// --------------------------------------------------------------------------
// Various subforms for editing the pieces of a view.
/**
* Returns information about subforms for editing the pieces of a view.
*
* @param string|null $key
* The form for which to retrieve data. If NULL, the list of all forms is
* returned.
*/
function views_ui_ajax_forms($key = NULL) {
$forms = array(
'display' => array(
@ -2489,9 +2494,6 @@ function views_ui_autocomplete_tag($string = '') {
return new JsonResponse($matches);
}
// ------------------------------------------------------------------
// Get information from the Views data
function _views_weight_sort($a, $b) {
if ($a['weight'] != $b['weight']) {
return $a['weight'] < $b['weight'] ? -1 : 1;