Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3485117
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3485117
Commits
44f22ac4
Commit
44f22ac4
authored
12 years ago
by
Daniel Wehner
Committed by
Tim Plunkett
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#1758632
by dawehner: Remove options() out of the code.
parent
87689a18
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/Drupal/views/Plugin/views/PluginBase.php
+0
-11
0 additions, 11 deletions
lib/Drupal/views/Plugin/views/PluginBase.php
lib/Drupal/views/Plugin/views/style/DefaultStyle.php
+0
-7
0 additions, 7 deletions
lib/Drupal/views/Plugin/views/style/DefaultStyle.php
with
0 additions
and
18 deletions
lib/Drupal/views/Plugin/views/PluginBase.php
+
0
−
11
View file @
44f22ac4
...
...
@@ -92,14 +92,6 @@ function option_definition() { return array(); }
*/
function
construct
()
{
$this
->
set_default_options
();
}
/**
* Set default options on this object. Called by the constructor in a
* complex chain to deal with backward compatibility.
*
* @deprecated since views2
*/
function
options
(
&
$options
)
{
}
/**
* Set default options.
* For backward compatibility, it sends the options array; this is a
...
...
@@ -107,9 +99,6 @@ function options(&$options) { }
*/
function
set_default_options
()
{
$this
->
_set_option_defaults
(
$this
->
options
,
$this
->
option_definition
());
// Retained for complex defaults plus backward compatibility.
$this
->
options
(
$this
->
options
);
}
function
_set_option_defaults
(
&
$storage
,
$options
,
$level
=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
lib/Drupal/views/Plugin/views/style/DefaultStyle.php
+
0
−
7
View file @
44f22ac4
...
...
@@ -40,13 +40,6 @@ class DefaultStyle extends StylePluginBase {
*/
protected
$usesRowClass
=
TRUE
;
/**
* Set default options
*/
function
options
(
&
$options
)
{
parent
::
options
(
$options
);
}
function
options_form
(
&
$form
,
&
$form_state
)
{
parent
::
options_form
(
$form
,
$form_state
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment