Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
6778f6cc
Commit
6778f6cc
authored
May 29, 2013
by
Alex Pott
Browse files
Issue
#2002456
by ericthelast: Rename Views method default_empty() to defaultEmpty().
parent
a2b14f12
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
View file @
6778f6cc
...
...
@@ -469,7 +469,7 @@ function default_actions($which = NULL) {
),
'empty'
=>
array
(
'title'
=>
t
(
'Display contents of "No results found"'
),
'method'
=>
'default
_e
mpty'
,
'method'
=>
'default
E
mpty'
,
'breadcrumb'
=>
TRUE
,
// generate a breadcrumb to here
),
'access denied'
=>
array
(
...
...
@@ -714,7 +714,7 @@ public function defaultAccessDenied() {
* If an argument was expected and was not given, in this case, display
* the view's empty text
*/
function
default
_e
mpty
()
{
public
function
default
E
mpty
()
{
// We return with no query; this will force the empty text.
$this
->
view
->
built
=
TRUE
;
$this
->
view
->
executed
=
TRUE
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment