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
749ee8a8
Verified
Commit
749ee8a8
authored
Jan 16, 2023
by
Jess
Browse files
Issue
#3307509
followup by xjm: Add return typehint and correct return value documentation.
parent
9faff8ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/src/Plugin/views/field/BulkForm.php
View file @
749ee8a8
...
...
@@ -11,6 +11,7 @@
use
Drupal\Core\Language\LanguageManagerInterface
;
use
Drupal\Core\Messenger\MessengerInterface
;
use
Drupal\Core\Routing\RedirectDestinationTrait
;
use
Drupal\Core\StringTranslation\TranslatableMarkup
;
use
Drupal\Core\TypedData\TranslatableInterface
;
use
Drupal\views\Entity\Render\EntityTranslationRenderTrait
;
use
Drupal\views\Plugin\views\display\DisplayPluginBase
;
...
...
@@ -445,10 +446,10 @@ protected function emptySelectedMessage() {
/**
* Returns the message that is displayed when no action is selected.
*
* @return
string
* @return
\Drupal\Core\StringTranslation\TranslatableMarkup
* Message displayed when no action is selected.
*/
protected
function
emptyActionMessage
()
{
protected
function
emptyActionMessage
()
:
TranslatableMarkup
{
return
$this
->
t
(
'No %title option selected.'
,
[
'%title'
=>
$this
->
options
[
'action_title'
]]);
}
...
...
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