Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / entityqueue / src / EntityQueueListBuilder.php
index e063ef236bac589a3e0489482b8c92689a820832..76a13df3f32bb313aa12d94b5e8999773b09ada5 100644 (file)
@@ -139,7 +139,9 @@ class EntityQueueListBuilder extends ConfigEntityListBuilder {
   public function getDefaultOperations(EntityInterface $entity) {
     $operations = parent::getDefaultOperations($entity);
 
-    $operations['edit']['title'] = $this->t('Configure');
+    if (isset($operations['edit'])) {
+      $operations['edit']['title'] = $this->t('Configure');
+    }
 
     // Add AJAX functionality to enable/disable operations.
     foreach (array('enable', 'disable') as $op) {