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
5a95824b
Commit
5a95824b
authored
12 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2002250
by dwieeb: Rename Views method get_title() to getTitle().
parent
ddfec678
Branches
Branches containing commit
Tags
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
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
+2
-2
2 additions, 2 deletions
...Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
core/modules/views/lib/Drupal/views/ViewExecutable.php
+1
-1
1 addition, 1 deletion
core/modules/views/lib/Drupal/views/ViewExecutable.php
with
3 additions
and
3 deletions
core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
+
2
−
2
View file @
5a95824b
...
@@ -106,7 +106,7 @@ function is_exception($arg = NULL) {
...
@@ -106,7 +106,7 @@ function is_exception($arg = NULL) {
function
exception_title
()
{
function
exception_title
()
{
// If title overriding is off for the exception, return the normal title.
// If title overriding is off for the exception, return the normal title.
if
(
empty
(
$this
->
options
[
'exception'
][
'title_enable'
]))
{
if
(
empty
(
$this
->
options
[
'exception'
][
'title_enable'
]))
{
return
$this
->
get
_t
itle
();
return
$this
->
get
T
itle
();
}
}
return
$this
->
options
[
'exception'
][
'title'
];
return
$this
->
options
[
'exception'
][
'title'
];
}
}
...
@@ -926,7 +926,7 @@ function title() {
...
@@ -926,7 +926,7 @@ function title() {
* Called by the view object to get the title. This may be set by a
* Called by the view object to get the title. This may be set by a
* validator so we don't necessarily call through to title().
* validator so we don't necessarily call through to title().
*/
*/
function
get
_t
itle
()
{
public
function
get
T
itle
()
{
if
(
isset
(
$this
->
validated_title
))
{
if
(
isset
(
$this
->
validated_title
))
{
return
$this
->
validated_title
;
return
$this
->
validated_title
;
}
}
...
...
This diff is collapsed.
Click to expand it.
core/modules/views/lib/Drupal/views/ViewExecutable.php
+
1
−
1
View file @
5a95824b
...
@@ -876,7 +876,7 @@ protected function _buildArguments() {
...
@@ -876,7 +876,7 @@ protected function _buildArguments() {
$arg_title
=
$argument
->
exception_title
();
$arg_title
=
$argument
->
exception_title
();
}
}
else
{
else
{
$arg_title
=
$argument
->
get
_t
itle
();
$arg_title
=
$argument
->
get
T
itle
();
$argument
->
query
(
$this
->
display_handler
->
useGroupBy
());
$argument
->
query
(
$this
->
display_handler
->
useGroupBy
());
}
}
...
...
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