ImageStyle::getPrivateKey

protected ImageStyle::getPrivateKey()

Gets the Drupal private key.

Return value

string The Drupal private key.

File

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

Class

ImageStyle
Defines an image style configuration entity.

Namespace

Drupal\image\Entity

Code

protected function getPrivateKey() {
  return \Drupal::service('private_key')->get();
}
doc_Drupal
2016-10-29 09:19:32
Comments
Leave a Comment

Please login to continue.