ImageStyle::getName

public ImageStyle::getName()

Returns the image style.

Return value

string The name of the image style.

Overrides ImageStyleInterface::getName

File

core/modules/image/src/Entity/ImageStyle.php, line 389

Class

ImageStyle
Defines an image style configuration entity.

Namespace

Drupal\image\Entity

Code

public function getName() {
  return $this->get('name');
}
doc_Drupal
2016-10-29 09:19:31
Comments
Leave a Comment

Please login to continue.