Skip to content

Commit

Permalink
[Text] Implement TabHelper.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Mar 24, 2015
1 parent 10c88df commit 99094d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Clastic/TextBundle/Form/Module/TextFormExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TextFormExtension extends AbstractNodeTypeExtension
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$this->findTab($builder, 'general')
$this->getTabHelper($builder)->findTab('general')
->add('body', 'wysiwyg');
}
}

0 comments on commit 99094d4

Please sign in to comment.