Commit 25722a62 authored by catch's avatar catch
Browse files

Issue #2102449 by amateescu, swentel: Remove drupal_set_title in field_ui module controllers.

parent 76fb5cba
......@@ -87,6 +87,7 @@ public static function create(ContainerInterface $container) {
*/
public function buildForm(array $form, array &$form_state, FieldInstanceInterface $field_instance = NULL) {
$this->instance = $form_state['instance'] = $field_instance;
$form['#title'] = $this->instance->label();
$field = $this->instance->getField();
$form['#field'] = $field;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment