Skip to content
Snippets Groups Projects

Put each entity type table into a details element on admin/config/regional/content-language

2 files
+ 11
0
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 3fb63acc
    Issue #3187318 by sudiptadas19, eddie_c, huzooka, anmolgoyal74, quietone, Wim... · 3fb63acc
    catch authored
    Issue #3187318 by sudiptadas19, eddie_c, huzooka, anmolgoyal74, quietone, Wim Leers, alexpott: ContentEntity source plugin should exclude user with uid "0"
@@ -231,6 +231,10 @@ public function query() {
if (!empty($this->configuration['bundle'])) {
$query->condition($this->entityType->getKey('bundle'), $this->configuration['bundle']);
}
// Exclude anonymous user account.
if ($this->entityType->id() === 'user' && !empty($this->entityType->getKey('id'))) {
$query->condition($this->entityType->getKey('id'), 0, '>');
}
return $query;
}
Loading