public function ProfileTypeFormController::redirectToFieldUI in Profile 2 8
Form submission handler to redirect to Manage fields page of Field UI.
File
- src/
ProfileTypeFormController.php, line 102 - Contains \Drupal\profile\ProfileTypeFormController.
Class
- ProfileTypeFormController
- Form controller for profile type forms.
Namespace
Drupal\profileCode
public function redirectToFieldUI(array $form, FormStateInterface $form_state) {
$form_state
->setRedirect('field_ui.overview_profile', array(
'profile_type' => $this->entity
->id(),
));
}