- 125g Mie-Nudeln oder Wok-Nudeln
- 250g Brokkolie
- 2 Knoblauchzehen
- 30g Mandeln
- 3 Eier
- 2 Tl Sambal Oelek
- 1 El Zitronensaft
- 3 El Sojasauce
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
$builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) { | |
$data = $event->getData(); | |
$form = $event->getForm(); | |
$config = $form->get('groups')->getConfig(); // get the field config | |
$name = $config->getName(); // get the name string | |
$type = get_class($config->getType()->getInnerType()); // get the type class | |
$options = $config->getOptions(); // get the options array | |
$options['label'] = "Login Name"; // e.g. change the label |
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
/** | |
* Initializes switch fields | |
* | |
* https://stackoverflow.com/a/8318129/5947371 | |
*/ | |
initSwitch() { | |
let selector = '.custom-control-input[type="radio"]'; | |
$(selector).each((index, radio) => { | |
let $radio = $(radio), |
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
<?php | |
namespace App\Service; | |
use App\Entity\Address; | |
use Doctrine\ORM\EntityManagerInterface; | |
use Geocoder\Provider\Nominatim\Nominatim; | |
use Geocoder\Query\GeocodeQuery; | |
use Geocoder\StatefulGeocoder; | |
use Http\Adapter\Guzzle6\Client; |
OlderNewer