Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
221
Merge Requests
221
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
7e4aacd8
Commit
7e4aacd8
authored
Jan 21, 2013
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1893844
by dawehner: Mark AreaPluginBase::render as abstract
parent
9147a18b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
core/modules/views/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php
...ews/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php
+1
-3
core/modules/views/lib/Drupal/views/Plugin/views/area/Title.php
...odules/views/lib/Drupal/views/Plugin/views/area/Title.php
+7
-0
No files found.
core/modules/views/lib/Drupal/views/Plugin/views/area/AreaPluginBase.php
View file @
7e4aacd8
...
...
@@ -162,9 +162,7 @@ public function preRender(array $results) {
/**
* Render the area
*/
function
render
(
$empty
=
FALSE
)
{
return
''
;
}
public
abstract
function
render
(
$empty
=
FALSE
);
/**
* Area handlers shouldn't have groupby.
...
...
core/modules/views/lib/Drupal/views/Plugin/views/area/Title.php
View file @
7e4aacd8
...
...
@@ -58,4 +58,11 @@ public function preRender(array $results) {
return
''
;
}
/**
* Implements \Drupal\views\Plugins\views\area\AreaPluginBase::render();
*/
public
function
render
(
$empty
=
FALSE
)
{
// Do nothing for this handler.
}
}
Write
Preview
Markdown
is supported
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