Skip to content

Commit

Permalink
Merge pull request #253 from ezsystems/revert-226-language_filtering
Browse files Browse the repository at this point in the history
Revert "EZP-28598: Fixes no filtering langauge on create content UI"
  • Loading branch information
micszo authored Dec 21, 2017
2 parents 813b530 + 32eb0f7 commit 925b196
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 104 deletions.
5 changes: 4 additions & 1 deletion src/bundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ imports:
- { resource: services/tabs.yml }
- { resource: services/menu.yml }
- { resource: services/application_config.yml }
- { resource: services/type_extensions.yml }
- { resource: services/pagination.yml }
- { resource: services/ui_config.yml }
- { resource: services/components.yml }
- { resource: services/dashboard.yml }
- { resource: services/modules/subitems.yml }
- { resource: services/form_processors.yml }
- { resource: services/form_types.yml }

parameters:

Expand Down Expand Up @@ -44,6 +44,9 @@ services:
tags:
- {name: kernel.event_subscriber}

EzSystems\EzPlatformAdminUi\Form\Type\:
resource: '../../../lib/Form/Type'

EzSystems\EzPlatformAdminUi\Form\DataMapper\:
resource: '../../../lib/Form/DataMapper'

Expand Down
13 changes: 0 additions & 13 deletions src/bundle/Resources/config/services/form_types.yml

This file was deleted.

5 changes: 5 additions & 0 deletions src/bundle/Resources/config/services/type_extensions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
_defaults:
autowire: true
autoconfigure: true
public: true
4 changes: 2 additions & 2 deletions src/lib/Form/Type/Content/Draft/ContentCreateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use EzSystems\EzPlatformAdminUi\Form\Data\Content\Draft\ContentCreateData;
use EzSystems\EzPlatformAdminUi\Form\Type\Content\LocationType;
use EzSystems\EzPlatformAdminUi\Form\Type\ContentType\ContentTypeChoiceType;
use EzSystems\EzPlatformAdminUi\Form\Type\Language\LimitedLanguageChoiceType;
use EzSystems\EzPlatformAdminUi\Form\Type\Language\LanguageChoiceType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
Expand Down Expand Up @@ -50,7 +50,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
)
->add(
'language',
LimitedLanguageChoiceType::class,
LanguageChoiceType::class,
[
'label' => false,
'multiple' => false,
Expand Down
88 changes: 0 additions & 88 deletions src/lib/Form/Type/Language/LimitedLanguageChoiceType.php

This file was deleted.

0 comments on commit 925b196

Please sign in to comment.