Commit 7f2d77f8 authored by Αχιλλέας Κατσαρός's avatar Αχιλλέας Κατσαρός
Browse files

Merge branch 'new_feature9' into 'develop'

eiek updates

See merge request !11
parents 63c6f2ed a4e550a2
...@@ -520,7 +520,7 @@ class AitisiEntity extends RevisionableContentEntityBase implements AitisiEntity ...@@ -520,7 +520,7 @@ class AitisiEntity extends RevisionableContentEntityBase implements AitisiEntity
->setRequired(TRUE) ->setRequired(TRUE)
->setSettings(array( ->setSettings(array(
'max_length' => 16, 'max_length' => 16,
'default_value' => 'Draft', 'default_value' => 'both',
'allowed_values' => array( 'allowed_values' => array(
'practical' => t('Πρακτικό'), 'practical' => t('Πρακτικό'),
'theoretical' => t('Θεωρητικό'), 'theoretical' => t('Θεωρητικό'),
......
...@@ -328,7 +328,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface ...@@ -328,7 +328,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
$fields['last'] = BaseFieldDefinition::create('string') $fields['last'] = BaseFieldDefinition::create('string')
->setLabel(t('Last Name')) ->setLabel(t('Επίθετο'))
->setDescription(t('The last name of the Student entity entity.')) ->setDescription(t('The last name of the Student entity entity.'))
->setRequired(TRUE) ->setRequired(TRUE)
->setSettings(array( ->setSettings(array(
...@@ -350,7 +350,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface ...@@ -350,7 +350,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface
$fields['first'] = BaseFieldDefinition::create('string') $fields['first'] = BaseFieldDefinition::create('string')
->setLabel(t('First Name')) ->setLabel(t('Όνομα'))
->setDescription(t('The first name of the Student entity entity.')) ->setDescription(t('The first name of the Student entity entity.'))
->setRequired(TRUE) ->setRequired(TRUE)
->setSettings(array( ->setSettings(array(
...@@ -372,7 +372,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface ...@@ -372,7 +372,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface
$fields['fname'] = BaseFieldDefinition::create('string') $fields['fname'] = BaseFieldDefinition::create('string')
->setLabel(t('Father Name')) ->setLabel(t('Όνομα πατέρα'))
->setDescription(t('The father name of the Student entity entity.')) ->setDescription(t('The father name of the Student entity entity.'))
->setRequired(TRUE) ->setRequired(TRUE)
->setSettings(array( ->setSettings(array(
...@@ -393,7 +393,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface ...@@ -393,7 +393,7 @@ class StudentEntity extends ContentEntityBase implements StudentEntityInterface
->setDisplayConfigurable('view', TRUE); ->setDisplayConfigurable('view', TRUE);
$fields['mname'] = BaseFieldDefinition::create('string') $fields['mname'] = BaseFieldDefinition::create('string')
->setLabel(t('Mother Name')) ->setLabel(t('Όνομα μητέρας'))
->setDescription(t('The father name of the Student entity entity.')) ->setDescription(t('The father name of the Student entity entity.'))
->setRequired(TRUE) ->setRequired(TRUE)
->setSettings(array( ->setSettings(array(
......
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