ViewsDataHelper::fetchedFieldSort

protected static ViewsDataHelper::fetchedFieldSort($a, $b) Sort function for fetched fields. Parameters array $a: First item for comparison. The compared items should be associative arrays that include a 'group' and a 'title' key. array $b: Second item for comparison. Return value int Returns -1 if $a comes before $b, 1 other way round and 0 if it cannot be decided. File core/modules/views/src/ViewsDataHelper.php, line 176 Class ViewsDataHelper Defines a helper class for stuff related to

ViewsDataHelper::fetchFields

public ViewsDataHelper::fetchFields($base, $type, $grouping = FALSE, $sub_type = NULL) Fetches a list of all fields available for a given base type. Parameters (array|string) $base: A list or a single base_table, for example node. string $type: The handler type, for example field or filter. bool $grouping: Should the result grouping by its 'group' label. string $sub_type: An optional sub type. E.g. Allows making an area plugin available for header only, instead of header, footer, and empty reg

ViewsDataHelper::__construct

public ViewsDataHelper::__construct(ViewsData $views_data) Constructs a ViewsData object. Parameters \Drupal\views\ViewsData $views_data: The views data object, containing the cached table information. File core/modules/views/src/ViewsDataHelper.php, line 33 Class ViewsDataHelper Defines a helper class for stuff related to views data. Namespace Drupal\views Code public function __construct(ViewsData $views_data) { $this->data = $views_data; }

ViewsDisplay

Defines a Plugin annotation object for views display plugins. Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsPluginAnnotationBase implements AnnotationInterfaceclass \Drupal\views\Annotation\ViewsDisplay See also \Drupal\views\Plugin\views\display\DisplayPluginBase Related topics Annotations Annotations for class discovery and metadata description. Views display plugins Plugins to handle the overall display of views.

ViewsDisplay::$admin

The administrative name of the display. The name is displayed on the Views overview and also used as default name for new displays. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsDisplay.php, line 51 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $admin = '';

ViewsDisplay::$base

The base tables on which this display plugin can be used. If no base table is specified the plugin can be used with all tables. Type: array File core/modules/views/src/Annotation/ViewsDisplay.php, line 109 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $base;

ViewsDisplay::$contextual_links_locations

A list of places where contextual links should be added. For example: array( 'page', 'block', ) If you don't specify it there will be contextual links rendered for all displays of a view. If this is not set or regions have been specified, views will display an option to 'hide contextual links'. Use an empty array to disable. Type: array File core/modules/views/src/Annotation/ViewsDisplay.php, line 100 Class ViewsDisplay Defines a Plugin annotation object for views display plugins.

ViewsDisplay::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsDisplay.php, line 60 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $help = '';

ViewsDisplay::$id

The plugin ID. Type: string File core/modules/views/src/Annotation/ViewsDisplay.php, line 21 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $id;

ViewsDisplay::$no_ui

Whether the plugin should be not selectable in the UI. If it's set to TRUE, you can still use it via the API in config files. Type: bool File core/modules/views/src/Annotation/ViewsDisplay.php, line 125 Class ViewsDisplay Defines a Plugin annotation object for views display plugins. Namespace Drupal\views\Annotation Code public $no_ui;