public function ImageEffectsColor::getInfo in Image Effects 8.2
Same name and namespace in other branches
- 8.3 src/Element/ImageEffectsColor.php \Drupal\image_effects\Element\ImageEffectsColor::getInfo()
- 8 src/Element/ImageEffectsColor.php \Drupal\image_effects\Element\ImageEffectsColor::getInfo()
Returns the element properties for this element.
Return value
array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.
Overrides ElementInterface::getInfo
File
- src/
Element/ ImageEffectsColor.php, line 23
Class
- ImageEffectsColor
- Implements a form element to enable capturing color information.
Namespace
Drupal\image_effects\ElementCode
public function getInfo() {
$class = get_class($this);
return [
'#input' => TRUE,
'#process' => [
[
$class,
'processImageEffectsColor',
],
],
'#element_validate' => [
[
$class,
'validateImageEffectsColor',
],
],
];
}