requiresParentSelection; } /** * {@inheritdoc} */ public function createElements(array $formData) { $this->addElement( 'text', 'url', array( 'allowEmpty' => true, 'label' => $this->translate('Url'), 'description' => $this->translate( 'The url of this navigation item. Leave blank if you only want the name being displayed.' ) ) ); $this->addElement( 'text', 'icon', array( 'allowEmpty' => true, 'label' => $this->translate('Icon'), 'description' => $this->translate( 'The icon of this navigation item. Leave blank if you do not want a icon being displayed.' ) ) ); } }