public function Tile::optionsForm in Openlayers 7.3
@TODO What is this return? If it is the form, why is form by reference?
Overrides Base::optionsForm
File
- src/
Plugin/ Layer/ Tile/ Tile.php, line 22 - Layer: Tile.
Class
- Tile
- Class Tile.
Namespace
Drupal\openlayers\Plugin\Layer\TileCode
public function optionsForm(array &$form, array &$form_state) {
$form['options']['opacity'] = array(
'#type' => 'textfield',
'#title' => t('Opacity'),
'#default_value' => $this
->getOption('opacity', 1),
'#description' => t('Opacity, between 0 and 1.'),
);
}