You are here

public function ImageStyleConfigurationHandler::getIdentifiers in Configuration Management 7.3

Returns the configuration identifiers handled by this instance.

Return value

array An array of identifiers.

Overrides ConfigurationHandler::getIdentifiers

File

src/Handlers/ImageStyleConfigurationHandler.php, line 15

Class

ImageStyleConfigurationHandler

Namespace

Configuration\Handlers

Code

public function getIdentifiers() {
  $identifiers = array();
  foreach (image_styles() as $key => $image_style) {
    $identifiers[$key] = $image_style['name'];
  }
  return $identifiers;
}