This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_field_widget_WIDGET_TYPE_form_alter(). | |
*/ | |
function my_common_field_widget_entity_reference_paragraphs_form_alter(&$element, \Drupal\Core\Form\FormStateInterface $form_state, $context) { | |
/** @var \Drupal\field\Entity\FieldConfig $field_definition */ | |
$field_definition = $context['items']->getFieldDefinition(); | |
$paragraph_entity_reference_field_name = $field_definition->getName(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L.Micello.UploadManager= L.Class.extend({ | |
options: { | |
id: '', | |
callback: '', | |
encapsulation: "", | |
format: ["csv"], | |
debug: false | |
}, | |
initialize: function (element, options) { | |
this.element = element; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Task */ | |
L.Micello.EntityPropertyManagement = L.Layer.extend({ | |
options: { | |
}, | |
initialize: function (taskControl) { | |
L.Util.setOptions(this, taskControl.options); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Micello Map</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!-- Core Leaflet Files --> | |
<script src="../../Leaflet/1.0.0/leaflet-src.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L.Micello.UploadManager= L.Class.extend({ | |
options: { | |
id: '', | |
callback: '', | |
backGroundColor : '#ffffff', | |
width : '600px', | |
height : '400px', | |
border : '1px solid #C8C8C8', | |
greyTextColor :'#D4D2D2', | |
blueTextColor : '#6FABE3' |