You are here

public static function PhotosImage::sizeInfo in Album Photos 8.4

Storage process information.

3 calls to PhotosImage::sizeInfo()
PhotosAdminSettingsForm::buildForm in src/Form/PhotosAdminSettingsForm.php
Form constructor.
PhotosImage::sizeOptions in src/PhotosImage.php
Image size select options.
_photos_filter_process in ./photos.module
Expands on photos filter process.

File

src/PhotosImage.php, line 470

Class

PhotosImage
Create images object.

Namespace

Drupal\photos

Code

public static function sizeInfo() {
  $info = \Drupal::config('photos.settings')
    ->get('photos_size');
  if (is_array($info)) {
    $v['count'] = count($info);
    $v['size'] = $info;
    return $v;
  }
  return FALSE;
}