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\ControllerCode
public function getOptionList() {
$bins = $this
->createTabOptions();
$other = $this
->moduleHandler()
->invokeAll('cacheflush_tabs_options');
return array_merge($bins, $other);
}