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
953de7e4
Commit
953de7e4
authored
Jul 27, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
remove a bunch of notices
parent
dd7d246b
Changes
6
Hide whitespace changes
Inline
Side-by-side
includes/plugins.inc
View file @
953de7e4
...
...
@@ -445,9 +445,9 @@ function views_discover_plugins() {
if
(
!
isset
(
$def
[
'path'
]))
{
$def
[
'path'
]
=
$path
;
}
if
(
!
isset
(
$def
[
'file'
]))
{
$def
[
'file'
]
=
$def
[
'handler'
]
.
'.inc'
;
}
//
if (!isset($def['file'])) {
//
$def['file'] = $def['handler'] . '.inc';
//
}
if
(
!
isset
(
$def
[
'parent'
]))
{
$def
[
'parent'
]
=
'parent'
;
}
...
...
lib/Drupal/views/Plugins/views/exposed_form/ExposedFormPluginBase.
inc
→
lib/Drupal/views/Plugins/views/exposed_form/ExposedFormPluginBase.
php
View file @
953de7e4
File moved
lib/Drupal/views/View.php
View file @
953de7e4
...
...
@@ -579,8 +579,7 @@ function init_style() {
$this
->
style_options
=
$this
->
display_handler
->
get_option
(
'style_options'
);
}
$style_manager
=
new
StylePluginManager
();
$this
->
style_plugin
=
$style_manager
->
createInstance
(
$this
->
plugin_name
);
$this
->
style_plugin
=
views_get_plugin
(
'style'
,
$this
->
plugin_name
);
if
(
empty
(
$this
->
style_plugin
))
{
return
FALSE
;
...
...
modules/node.views.inc
View file @
953de7e4
...
...
@@ -634,7 +634,7 @@ function node_views_plugins() {
'node'
=>
array
(
'title'
=>
t
(
'Content'
),
'help'
=>
t
(
'Display the content with standard node view.'
),
'
handler
'
=>
'views_plugin_row_node_view'
,
'
class
'
=>
'views_plugin_row_node_view'
,
'path'
=>
drupal_get_path
(
'module'
,
'views'
)
.
'/modules/node'
,
// not necessary for most modules
'base'
=>
array
(
'node'
),
// only works with 'node' as base.
'uses options'
=>
TRUE
,
...
...
@@ -644,7 +644,7 @@ function node_views_plugins() {
'node_rss'
=>
array
(
'title'
=>
t
(
'Content'
),
'help'
=>
t
(
'Display the content with standard node view.'
),
'
handler
'
=>
'views_plugin_row_node_rss'
,
'
class
'
=>
'views_plugin_row_node_rss'
,
'path'
=>
drupal_get_path
(
'module'
,
'views'
)
.
'/modules/node'
,
// not necessary for most modules
'theme'
=>
'views_view_row_rss'
,
'base'
=>
array
(
'node'
),
// only works with 'node' as base.
...
...
modules/node/views_plugin_row_node_rss.inc
View file @
953de7e4
...
...
@@ -5,11 +5,13 @@
* Contains the node RSS row style plugin.
*/
use
Drupal\views\Plugins\views\row\RowPluginBase
;
/**
* Plugin which performs a node_view on the resulting object
* and formats it as an RSS item.
*/
class
views_plugin_row_node_rss
extends
views_p
lugin
_row
{
class
views_plugin_row_node_rss
extends
RowP
lugin
Base
{
// Basic properties that let the row style follow relationships.
var
$base_table
=
'node'
;
var
$base_field
=
'nid'
;
...
...
modules/node/views_plugin_row_node_view.inc
View file @
953de7e4
...
...
@@ -5,6 +5,8 @@
* Contains the node view row style plugin.
*/
use
Drupal\views\Plugins\views\row\RowPluginBase
;
/**
* Plugin which performs a node_view on the resulting object.
*
...
...
@@ -12,7 +14,7 @@
*
* @ingroup views_row_plugins
*/
class
views_plugin_row_node_view
extends
views_p
lugin
_row
{
class
views_plugin_row_node_view
extends
RowP
lugin
Base
{
// Basic properties that let the row style follow relationships.
var
$base_table
=
'node'
;
var
$base_field
=
'nid'
;
...
...
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