Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
65dc722d
Commit
65dc722d
authored
Jul 28, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Add abstract classes to all kind of plugins
parent
9ac1406a
Changes
23
Hide whitespace changes
Inline
Side-by-side
lib/Drupal/views/Plugins/views/access/AccessPluginBase.php
View file @
65dc722d
...
...
@@ -20,7 +20,7 @@
/**
* The base plugin to handle access control.
*/
class
AccessPluginBase
extends
Plugin
{
abstract
class
AccessPluginBase
extends
Plugin
{
/**
* Initialize the plugin.
*
...
...
lib/Drupal/views/Plugins/views/area/AreaPluginBase.php
View file @
65dc722d
...
...
@@ -22,7 +22,7 @@
*
* @ingroup views_area_handlers
*/
class
AreaPluginBase
extends
Handler
{
abstract
class
AreaPluginBase
extends
Handler
{
/**
* Get this field's label.
*/
...
...
lib/Drupal/views/Plugins/views/argument/ArgumentPluginBase.php
View file @
65dc722d
...
...
@@ -40,7 +40,7 @@
*
* @ingroup views_argument_handlers
*/
class
ArgumentPluginBase
extends
Handler
{
abstract
class
ArgumentPluginBase
extends
Handler
{
var
$validator
=
NULL
;
var
$argument
=
NULL
;
...
...
lib/Drupal/views/Plugins/views/argument_default/ArgumentDefaultPluginBase.php
View file @
65dc722d
...
...
@@ -20,7 +20,7 @@
/**
* The fixed argument default handler; also used as the base.
*/
class
ArgumentDefaultPluginBase
extends
Plugin
{
abstract
class
ArgumentDefaultPluginBase
extends
Plugin
{
/**
* Return the default argument.
*
...
...
lib/Drupal/views/Plugins/views/argument_validator/ArgumentValidatorPluginBase.php
View file @
65dc722d
...
...
@@ -20,7 +20,7 @@
/**
* Base argument validator plugin to provide basic functionality.
*/
class
ArgumentValidatorPluginBase
extends
Plugin
{
abstract
class
ArgumentValidatorPluginBase
extends
Plugin
{
/**
* Initialize this plugin with the view and the argument
...
...
lib/Drupal/views/Plugins/views/cache/CachePluginBase.php
View file @
65dc722d
...
...
@@ -20,7 +20,7 @@
/**
* The base plugin to handle caching.
*/
class
CachePluginBase
extends
Plugin
{
abstract
class
CachePluginBase
extends
Plugin
{
/**
* Contains all data that should be written/read from cache.
*/
...
...
lib/Drupal/views/Plugins/views/display/DisplayPluginBase.php
View file @
65dc722d
...
...
@@ -28,7 +28,7 @@
* The default display plugin handler. Display plugins handle options and
* basic mechanisms for different output methods.
*/
class
DisplayPluginBase
extends
Plugin
{
abstract
class
DisplayPluginBase
extends
Plugin
{
/**
* The top object of a view.
*
...
...
lib/Drupal/views/Plugins/views/exposed_form/ExposedFormPluginBase.php
View file @
65dc722d
...
...
@@ -22,7 +22,7 @@
/**
* The base plugin to handle exposed filter forms.
*/
class
ExposedFormPluginBase
extends
Plugin
{
abstract
class
ExposedFormPluginBase
extends
Plugin
{
/**
* Initialize the plugin.
...
...
lib/Drupal/views/Plugins/views/field/FieldPluginBase.php
View file @
65dc722d
...
...
@@ -53,7 +53,7 @@
* plugin_id = "standard"
* )
*/
class
FieldPluginBase
extends
Handler
{
abstract
class
FieldPluginBase
extends
Handler
{
var
$field_alias
=
'unknown'
;
var
$aliases
=
array
();
...
...
lib/Drupal/views/Plugins/views/filter/FilterPluginBase.php
View file @
65dc722d
...
...
@@ -42,7 +42,7 @@
* plugin_id = "standard"
* )
*/
class
FilterPluginBase
extends
Handler
{
abstract
class
FilterPluginBase
extends
Handler
{
/**
* Contains the actual value of the field,either configured in the views ui
* or entered in the exposed filters.
...
...
lib/Drupal/views/Plugins/views/localization/LocalizationPluginBase.php
View file @
65dc722d
...
...
@@ -20,7 +20,7 @@
/**
* The base plugin to handle localization of Views strings.
*/
class
LocalizationPluginBase
extends
Plugin
{
abstract
class
LocalizationPluginBase
extends
Plugin
{
// Store for exported strings
var
$export_strings
=
array
();
var
$translate
=
TRUE
;
...
...
lib/Drupal/views/Plugins/views/pager/PagerPluginBase.php
View file @
65dc722d
...
...
@@ -20,7 +20,7 @@
/**
* The base plugin to handle pager.
*/
class
PagerPluginBase
extends
Plugin
{
abstract
class
PagerPluginBase
extends
Plugin
{
var
$current_page
=
NULL
;
var
$total_items
=
0
;
...
...
lib/Drupal/views/Plugins/views/relationship/RelationshipPluginBase.php
View file @
65dc722d
...
...
@@ -47,7 +47,7 @@
* plugin_id = "standard"
* )
*/
class
RelationshipPluginBase
extends
Handler
{
abstract
class
RelationshipPluginBase
extends
Handler
{
/**
* Init handler to let relationships live on tables other than
* the table they operate on.
...
...
lib/Drupal/views/Plugins/views/row/RowPluginBase.php
View file @
65dc722d
...
...
@@ -24,7 +24,7 @@
* Default plugin to view a single row of a table. This is really just a wrapper around
* a theme function.
*/
class
RowPluginBase
extends
Plugin
{
abstract
class
RowPluginBase
extends
Plugin
{
/**
* Initialize the row plugin.
*/
...
...
lib/Drupal/views/Plugins/views/sort/SortPluginBase.php
View file @
65dc722d
...
...
@@ -28,7 +28,7 @@
* plugin_id = "standard"
* )
*/
class
SortPluginBase
extends
Handler
{
abstract
class
SortPluginBase
extends
Handler
{
/**
* Determine if a sort can be exposed.
...
...
lib/Drupal/views/Plugins/views/style/StylePluginBase.php
View file @
65dc722d
...
...
@@ -28,7 +28,7 @@
/**
* Base class to define a style plugin handler.
*/
class
StylePluginBase
extends
ViewsPlugin
{
abstract
class
StylePluginBase
extends
ViewsPlugin
{
/**
* Store all available tokens row rows.
*/
...
...
lib/Drupal/views/Plugins/views/wizard/Comment.php
View file @
65dc722d
...
...
@@ -49,7 +49,7 @@
* }
* )
*/
class
Comment
extends
WizardBase
{
class
Comment
extends
Wizard
Plugin
Base
{
protected
function
row_style_options
(
$type
)
{
$options
=
array
();
...
...
lib/Drupal/views/Plugins/views/wizard/File.php
View file @
65dc722d
...
...
@@ -7,7 +7,7 @@
namespace
Drupal\views\Plugins\views\wizard
;
use
Drupal\views\Plugins\views\wizard\WizardBase
;
use
Drupal\views\Plugins\views\wizard\Wizard
Plugin
Base
;
use
Drupal\Core\Annotation\Plugin
;
use
Drupal\Core\Annotation\Translation
;
...
...
@@ -28,7 +28,7 @@
* }
* )
*/
class
File
extends
WizardBase
{
class
File
extends
Wizard
Plugin
Base
{
protected
function
default_display_options
(
$form
,
$form_state
)
{
$display_options
=
parent
::
default_display_options
(
$form
,
$form_state
);
...
...
lib/Drupal/views/Plugins/views/wizard/Node.php
View file @
65dc722d
...
...
@@ -7,7 +7,7 @@
namespace
Drupal\views\Plugins\views\wizard
;
use
Drupal\views\Plugins\views\wizard\WizardBase
;
use
Drupal\views\Plugins\views\wizard\Wizard
Plugin
Base
;
use
Drupal\Core\Annotation\Plugin
;
use
Drupal\Core\Annotation\Translation
;
...
...
@@ -48,7 +48,7 @@
*
*/
class
Node
extends
WizardBase
{
class
Node
extends
Wizard
Plugin
Base
{
protected
function
row_style_options
(
$type
)
{
$options
=
array
();
...
...
lib/Drupal/views/Plugins/views/wizard/NodeRevision.php
View file @
65dc722d
...
...
@@ -7,7 +7,7 @@
namespace
Drupal\views\Plugins\views\wizard
;
use
Drupal\views\Plugins\views\wizard\WizardBase
;
use
Drupal\views\Plugins\views\wizard\Wizard
Plugin
Base
;
use
Drupal\Core\Annotation\Plugin
;
use
Drupal\Core\Annotation\Translation
;
...
...
@@ -49,7 +49,7 @@
* }
* )
*/
class
NodeRevision
extends
WizardBase
{
class
NodeRevision
extends
Wizard
Plugin
Base
{
/**
* Node revisions do not support full posts or teasers, so remove them.
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment