WebformImageSelectImagesInterface.php in Webform 6.x
Same filename and directory in other branches
Namespace
Drupal\webform_image_selectFile
modules/webform_image_select/src/WebformImageSelectImagesInterface.phpView source
<?php
namespace Drupal\webform_image_select;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a webform image select images entity.
*/
interface WebformImageSelectImagesInterface extends ConfigEntityInterface {
/**
* Set images (YAML) value.
*
* @param array $images
* An renderable array of images.
*
* @return $this
*/
public function setImages(array $images);
/**
* Get images (YAML) as an associative array.
*
* @return array|bool
* Images as an associative array. Returns FALSE if images YAML is invalid.
*/
public function getImages();
/**
* Get webform image select element images.
*
* @param array $element
* A webform image select element.
*
* @return array
* An associative array of images.
*/
public static function getElementImages(array &$element);
}
Interfaces
Name | Description |
---|---|
WebformImageSelectImagesInterface | Provides an interface defining a webform image select images entity. |