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

Issue #1744186 by tim.plunkett, damiankloip: Fix visibility for plugin...

Issue #1744186 by tim.plunkett, damiankloip: Fix visibility for plugin annotation to class property conversion.
parent 30e1afed
......@@ -51,7 +51,7 @@ abstract class PluginBase extends ComponentPluginBase {
*
* @var bool
*/
public $usesOptions = FALSE;
protected $usesOptions = FALSE;
/**
* Constructs a Plugin object.
......@@ -462,7 +462,7 @@ function plugin_title() {
/**
* Returns the usesOptions property.
*/
function usesOptions() {
public function usesOptions() {
return $this->usesOptions;
}
......
......@@ -27,7 +27,7 @@ class Permission extends AccessPluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
function access($account) {
return views_check_perm($this->options['perm'], $account);
......
......@@ -27,7 +27,7 @@ class Role extends AccessPluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
function access($account) {
return views_check_roles(array_filter($this->options['role']), $account);
......
......@@ -27,7 +27,7 @@ class Time extends CachePluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
function option_definition() {
$options = parent::option_definition();
......
......@@ -47,7 +47,7 @@ abstract class DisplayPluginBase extends PluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
/**
* Stores the rendered output of the display.
......
......@@ -27,7 +27,7 @@ abstract class ExposedFormPluginBase extends PluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
/**
* Initialize the plugin.
......
......@@ -29,7 +29,7 @@ abstract class PagerPluginBase extends PluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
/**
* Initialize the plugin.
......
......@@ -34,7 +34,7 @@ class Fields extends RowPluginBase {
*
* @var bool
*/
public $usesFields = TRUE;
protected $usesFields = TRUE;
function option_definition() {
$options = parent::option_definition();
......
......@@ -29,14 +29,14 @@ abstract class RowPluginBase extends PluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
/**
* Does the row plugin support to add fields to it's output.
*
* @var bool
*/
public $usesFields = FALSE;
protected $usesFields = FALSE;
/**
* Initialize the row plugin.
......
......@@ -29,7 +29,7 @@ class RssFields extends RowPluginBase {
*
* @var bool
*/
public $usesFields = TRUE;
protected $usesFields = TRUE;
function option_definition() {
$options = parent::option_definition();
......
......@@ -33,14 +33,14 @@ class DefaultStyle extends StylePluginBase {
*
* @var bool
*/
public $usesRowPlugin = TRUE;
protected $usesRowPlugin = TRUE;
/**
* Does the style plugin support custom css class for the rows.
*
* @var bool
*/
public $usesRowClass = TRUE;
protected $usesRowClass = TRUE;
/**
* Set default options
......
......@@ -31,14 +31,14 @@ class Grid extends StylePluginBase {
*
* @var bool
*/
public $usesRowPlugin = TRUE;
protected $usesRowPlugin = TRUE;
/**
* Does the style plugin support custom css class for the rows.
*
* @var bool
*/
public $usesRowClass = TRUE;
protected $usesRowClass = TRUE;
/**
* Set default options
......
......@@ -31,14 +31,14 @@ class HtmlList extends StylePluginBase {
*
* @var bool
*/
public $usesRowPlugin = TRUE;
protected $usesRowPlugin = TRUE;
/**
* Does the style plugin support custom css class for the rows.
*
* @var bool
*/
public $usesRowClass = TRUE;
protected $usesRowClass = TRUE;
/**
* Set default options
......
......@@ -31,7 +31,7 @@ class Rss extends StylePluginBase {
*
* @var bool
*/
public $usesRowPlugin = TRUE;
protected $usesRowPlugin = TRUE;
function attach_to($display_id, $path, $title) {
$display = $this->view->display[$display_id]->handler;
......
......@@ -33,7 +33,7 @@ abstract class StylePluginBase extends PluginBase {
/**
* Overrides Drupal\views\Plugin\Plugin::$usesOptions.
*/
public $usesOptions = TRUE;
protected $usesOptions = TRUE;
/**
* Store all available tokens row rows.
......@@ -53,14 +53,14 @@ abstract class StylePluginBase extends PluginBase {
*
* @var bool
*/
public $usesRowPlugin = FALSE;
protected $usesRowPlugin = FALSE;
/**
* Does the style plugin support custom css class for the rows.
*
* @var bool
*/
public $usesRowClass = FALSE;
protected $usesRowClass = FALSE;
/**
* Does the style plugin for itself support to add fields to it's output.
......@@ -70,7 +70,7 @@ abstract class StylePluginBase extends PluginBase {
*
* @var bool
*/
public $usesFields = FALSE;
protected $usesFields = FALSE;
/**
* Initialize a style plugin.
......
......@@ -31,21 +31,21 @@ class Table extends StylePluginBase {
*
* @var bool
*/
public $usesFields = TRUE;
protected $usesFields = TRUE;
/**
* Does the style plugin allows to use style plugins.
*
* @var bool
*/
public $usesRowPlugin = FALSE;
protected $usesRowPlugin = FALSE;
/**
* Does the style plugin support custom css class for the rows.
*
* @var bool
*/
public $usesRowClass = TRUE;
protected $usesRowClass = TRUE;
/**
* Contains the current active sort column.
......
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