projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Entity
/
EntityListBuilder.php
diff --git
a/web/core/lib/Drupal/Core/Entity/EntityListBuilder.php
b/web/core/lib/Drupal/Core/Entity/EntityListBuilder.php
index 7191fae8d407dc898018f6fcca2911a3aca37a9b..c7843517be50e203c8dca5360ba79aa8c3bc24f4 100644
(file)
--- a/
web/core/lib/Drupal/Core/Entity/EntityListBuilder.php
+++ b/
web/core/lib/Drupal/Core/Entity/EntityListBuilder.php
@@
-2,6
+2,7
@@
namespace Drupal\Core\Entity;
namespace Drupal\Core\Entity;
+use Drupal\Core\Messenger\MessengerTrait;
use Drupal\Core\Routing\RedirectDestinationTrait;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Routing\RedirectDestinationTrait;
use Drupal\Core\Url;
use Symfony\Component\DependencyInjection\ContainerInterface;
@@
-13,6
+14,7
@@
use Symfony\Component\DependencyInjection\ContainerInterface;
*/
class EntityListBuilder extends EntityHandlerBase implements EntityListBuilderInterface, EntityHandlerInterface {
*/
class EntityListBuilder extends EntityHandlerBase implements EntityListBuilderInterface, EntityHandlerInterface {
+ use MessengerTrait;
use RedirectDestinationTrait;
/**
use RedirectDestinationTrait;
/**
@@
-223,7
+225,7
@@
class EntityListBuilder extends EntityHandlerBase implements EntityListBuilderIn
'#header' => $this->buildHeader(),
'#title' => $this->getTitle(),
'#rows' => [],
'#header' => $this->buildHeader(),
'#title' => $this->getTitle(),
'#rows' => [],
- '#empty' => $this->t('There
is no @label yet.', ['@label' => $this->entityType->get
Label()]),
+ '#empty' => $this->t('There
are no @label yet.', ['@label' => $this->entityType->getPlural
Label()]),
'#cache' => [
'contexts' => $this->entityType->getListCacheContexts(),
'tags' => $this->entityType->getListCacheTags(),
'#cache' => [
'contexts' => $this->entityType->getListCacheContexts(),
'tags' => $this->entityType->getListCacheTags(),