You are here

public function EntityUpdateStatus::entityTypes in Entity Update 8

Same name and namespace in other branches
  1. 2.0.x src/Controller/EntityUpdateStatus.php \Drupal\entity_update\Controller\EntityUpdateStatus::entityTypes()

Get entity types list.

1 string reference to 'EntityUpdateStatus::entityTypes'
entity_update.routing.yml in ./entity_update.routing.yml
entity_update.routing.yml

File

src/Controller/EntityUpdateStatus.php, line 17

Class

EntityUpdateStatus
Entity Update status displays.

Namespace

Drupal\entity_update\Controller

Code

public function entityTypes() {
  $output = [];
  $output['#cache']['max-age'] = 0;
  $entity_types = EntityCheck::getEntityTypesList(NULL, FALSE);
  $output['data_table'] = $entity_types;
  return $output;
}