public function TileJSON::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/ Source/ TileJSON/ TileJSON.php, line 23 - Source: TileJson.
Class
- TileJSON
- Class TileJSON.
Namespace
Drupal\openlayers\Plugin\Source\TileJSONCode
public function optionsForm(array &$form, array &$form_state) {
$form['options']['url'] = array(
'#title' => t('URL'),
'#type' => 'textfield',
'#default_value' => $this
->getOption('url'),
);
}