File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,18 @@ This bundle is compatible with Symfony 3 and 4. Use composer to install:
10
10
11
11
composer require krixer/google-map-form-type-bundle
12
12
13
- Register the bundle in your ` app/AppKernel .php` :
13
+ Register the bundle in your ` config/bundles .php` :
14
14
15
15
``` php
16
- // app/AppKernel.php
17
- public function registerBundles()
18
- {
19
- $bundles = array(
20
- new Oh\GoogleMapFormTypeBundle\OhGoogleMapFormTypeBundle(),
21
- // ...
16
+ // config/bundles.php
17
+ return [
18
+ // ...
19
+ Oh\GoogleMapFormTypeBundle\OhGoogleMapFormTypeBundle::class => ['all' => true],
20
+ ];
22
21
```
23
22
24
- You might need to change a couple of options if you are trying to use Symfony 2.0
25
23
26
- Add OhGoogleMapFormTypeBundle to assetic
24
+ Create options file in ` config/packages ` directory
27
25
``` yaml
28
26
# config/packages/oh_google_map_form_type.yaml
29
27
oh_google_map_form_type :
You can’t perform that action at this time.
0 commit comments