Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
project
drupal
Commits
5a3629df
Commit
5a3629df
authored
12 years ago
by
Daniel Wehner
Committed by
Tim Plunkett
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Some work on style plugins
parent
da4d9944
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
includes/plugins.inc
+1
-1
1 addition, 1 deletion
includes/plugins.inc
lib/Drupal/views/Plugins/views/style/DefaultStyle.php
+3
-3
3 additions, 3 deletions
lib/Drupal/views/Plugins/views/style/DefaultStyle.php
lib/Drupal/views/View.php
+2
-1
2 additions, 1 deletion
lib/Drupal/views/View.php
with
6 additions
and
5 deletions
includes/plugins.inc
+
1
−
1
View file @
5a3629df
...
@@ -112,7 +112,7 @@ function views_views_plugins() {
...
@@ -112,7 +112,7 @@ function views_views_plugins() {
'default'
=>
array
(
'default'
=>
array
(
'title'
=>
t
(
'Unformatted list'
),
'title'
=>
t
(
'Unformatted list'
),
'help'
=>
t
(
'Displays rows one after another.'
),
'help'
=>
t
(
'Displays rows one after another.'
),
'class'
=>
'Drupal\views\Plugins\views\style\Default'
,
'class'
=>
'Drupal\views\Plugins\views\style\Default
Style
'
,
'theme'
=>
'views_view_unformatted'
,
'theme'
=>
'views_view_unformatted'
,
'uses row plugin'
=>
TRUE
,
'uses row plugin'
=>
TRUE
,
'uses row class'
=>
TRUE
,
'uses row class'
=>
TRUE
,
...
...
This diff is collapsed.
Click to expand it.
lib/Drupal/views/Plugins/views/style/Default.php
→
lib/Drupal/views/Plugins/views/style/Default
Style
.php
+
3
−
3
View file @
5a3629df
...
@@ -2,18 +2,18 @@
...
@@ -2,18 +2,18 @@
/**
/**
* @file
* @file
* Definition of Drupal\views\Plugins\views\style\Default.
* Definition of Drupal\views\Plugins\views\style\Default
Style
.
*/
*/
namespace
Drupal\views\Plugins\views\style
;
namespace
Drupal\views\Plugins\views\style
;
/**
/**
*
Default
style plugin to render rows one after another with no
*
Unformatted
style plugin to render rows one after another with no
* decorations.
* decorations.
*
*
* @ingroup views_style_plugins
* @ingroup views_style_plugins
*/
*/
class
Default
extends
StylePluginBase
{
class
Default
Style
extends
StylePluginBase
{
/**
/**
* Set default options
* Set default options
*/
*/
...
...
This diff is collapsed.
Click to expand it.
lib/Drupal/views/View.php
+
2
−
1
View file @
5a3629df
...
@@ -580,7 +580,8 @@ function init_style() {
...
@@ -580,7 +580,8 @@ function init_style() {
$this
->
style_options
=
$this
->
display_handler
->
get_option
(
'style_options'
);
$this
->
style_options
=
$this
->
display_handler
->
get_option
(
'style_options'
);
}
}
$this
->
style_plugin
=
views_get_plugin
(
'style'
,
$this
->
plugin_name
);
$style_manager
=
new
StylePluginManager
();
$this
->
style_plugin
=
$style_manager
->
createInstance
(
$this
->
plugin_name
);
if
(
empty
(
$this
->
style_plugin
))
{
if
(
empty
(
$this
->
style_plugin
))
{
return
FALSE
;
return
FALSE
;
...
...
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