Skip to content

Commit

Permalink
re-add deprecated method to LocaleType form fixes #3267
Browse files Browse the repository at this point in the history
  • Loading branch information
craigh committed Dec 5, 2016
1 parent ed12301 commit 0291f7a
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ public function getBlockPrefix()
return 'zikula_locale';
}

/**
* @return string
* @deprecated remove at Core-2.0
*/
public function getName()
{
return $this->getBlockPrefix();
}

public function getParent()
{
return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType';
Expand Down

0 comments on commit 0291f7a

Please sign in to comment.