You are here

function fotorama_gallery_install in Fotorama Gallery 8.2

Same name and namespace in other branches
  1. 8 fotorama_gallery.install \fotorama_gallery_install()

Implements hook_install().

File

./fotorama_gallery.install, line 11
Installation actions for Fotorama Gallery.

Code

function fotorama_gallery_install() {
  if (!_fotorama_gallery_verify_library()) {
    \Drupal::messenger()
      ->addError('Not Fotorama library found please install it, see README.md file for instructions.');
  }
}