/** * {@inheritdoc} */ public function createForm(AbstractRole $role) { $this->newRole = $role; return parent::createForm($role); }