Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / field_ui / src / EntityDisplayModeListBuilder.php
index c9d89662785b7242698b4186c7f0c1d7a77d64ed..cf44b8b78de6ef74c9622320288f15e8ebadc914 100644 (file)
@@ -36,6 +36,8 @@ class EntityDisplayModeListBuilder extends ConfigEntityListBuilder {
   public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, array $entity_types) {
     parent::__construct($entity_type, $storage);
 
+    // Override the default limit (50) in order to display all view modes.
+    $this->limit = FALSE;
     $this->entityTypes = $entity_types;
   }