Commit 55b18b6b authored by alexpott's avatar alexpott

Issue #2156657 by swentel | jhodgdon: Use the word "name" instead of "label" for display modes.

parent 2acb1fd6
......@@ -59,7 +59,7 @@ public static function createInstance(ContainerInterface $container, EntityTypeI
* {@inheritdoc}
*/
public function buildHeader() {
$header['label'] = t('Label');
$header['label'] = t('Name');
return $header + parent::buildHeader();
}
......
......@@ -76,7 +76,7 @@ protected function init(FormStateInterface $form_state) {
public function form(array $form, FormStateInterface $form_state) {
$form['label'] = array(
'#type' => 'textfield',
'#title' => t('Label'),
'#title' => t('Name'),
'#maxlength' => 100,
'#default_value' => $this->entity->label(),
);
......
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