You are here

public function CacheflushApi::getOptionList in CacheFlush 8

Return a list of cache options to be cleared.

Return value

array List cache options.

File

src/Controller/CacheflushApi.php, line 120

Class

CacheflushApi
Returns responses for Cacheflush routes.

Namespace

Drupal\cacheflush\Controller

Code

public function getOptionList() {
  $bins = $this
    ->createTabOptions();
  $other = $this
    ->moduleHandler()
    ->invokeAll('cacheflush_tabs_options');
  return array_merge($bins, $other);
}