/**
  *
  * @param \Drupal\Core\Entity\EntityTypeInterface $entity_info
  *
  * @return mixed
  */
 protected function permissionLabels(EntityTypeInterface $entity_info)
 {
     $labels = $entity_info->get("permission_labels");
     if (!isset($labels['singular'])) {
         $labels['singular'] = $entity_info->getLabel();
     }
     if (!isset($labels['plural'])) {
         $labels['plural'] = $entity_info->getLabel();
     }
     return $labels;
 }
 /**
  * {@inheritdoc}
  */
 public function isSupportedEntityType(EntityTypeInterface $entity_type, $ignore_status = FALSE)
 {
     if ($entity_type->get('multiversion') === FALSE) {
         return FALSE;
     }
     $entity_type_id = $entity_type->id();
     if (in_array($entity_type_id, $this->entityTypeBlackList)) {
         return FALSE;
     }
     // @todo: {@link https://www.drupal.org/node/2597339 Remove this when there
     // are no entity types left to implement.}
     if (in_array($entity_type_id, $this->entityTypeToDo)) {
         return FALSE;
     }
     return $entity_type instanceof ContentEntityTypeInterface;
 }