'#type' => 'details',
'#title' =>
$this->
t('Display settings'
),
'#group' => 'additional_settings',
];
$form['display'
]['display_submitted'
] =
[ '#type' => 'checkbox',
'#title' =>
$this->
t('Display author and date information'
),
'#default_value' =>
$type->
displaySubmitted(),
'#description' =>
$this->
t('Author username and publish date will be displayed.'
),
];
return $this->
protectBundleIdElement($form);
} /**
* {@inheritdoc}
*/
protected function actions(array
$form, FormStateInterface
$form_state) { $actions = parent::
actions($form,
$form_state);
$actions['submit'
]['#value'
] =
$this->
t('Save content type'
);
return $actions;
}