Added equal opps view, and other changes.
This commit is contained in:
@ -268,8 +268,9 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
||||
->setDefaultValue('')
|
||||
->setDisplayOptions('form', [
|
||||
'type' => 'string_textfield',
|
||||
'weight' => -9,
|
||||
]);
|
||||
'weight' => -100,
|
||||
])
|
||||
->setRequired(TRUE);
|
||||
|
||||
$fields['middle_names'] = BaseFieldDefinition::create('string')
|
||||
->setLabel(t('Middle Names'))
|
||||
@ -284,7 +285,7 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
||||
->setDefaultValue('')
|
||||
->setDisplayOptions('form', [
|
||||
'type' => 'string_textfield',
|
||||
'weight' => -8,
|
||||
'weight' => -99,
|
||||
])
|
||||
->setRequired(FALSE);
|
||||
|
||||
@ -301,8 +302,9 @@ class OCActor extends RevisionableContentEntityBase implements OCActorInterface
|
||||
->setDefaultValue('')
|
||||
->setDisplayOptions('form', [
|
||||
'type' => 'string_textfield',
|
||||
'weight' => -7,
|
||||
]);
|
||||
'weight' => -98,
|
||||
])
|
||||
->setRequired(TRUE);
|
||||
|
||||
// Contact details.
|
||||
$fields['email'] = BaseFieldDefinition::create('string')
|
||||
|
Reference in New Issue
Block a user