public static function ImageDTO::createFromVariables in PhotoSwipe 3.x
Create from variables.
Parameters
array $variables: Variables.
Return value
self New self.
1 call to ImageDTO::createFromVariables()
- PhotoswipePreprocessProcessor::preprocess in src/
PhotoswipePreprocessProcessor.php - Preprocess image.
File
- src/
ImageDTO.php, line 127
Class
- ImageDTO
- Contains image item.
Namespace
Drupal\photoswipeCode
public static function createFromVariables(array $variables) {
return new static($variables);
}