Finished making person not revisionable

Am making stuff not revisionable for the initial hosted release and then will think about how to properly implement revisioning later.
Also removed now-unneeded contact details types vocabulary (contact details type is now a text field)
This commit is contained in:
naomi 2018-04-11 11:35:09 +02:00
parent 4d4f279148
commit 6d63d5f328
2 changed files with 0 additions and 10 deletions

View File

@ -1,8 +0,0 @@
langcode: en
status: true
dependencies: { }
name: 'Contact Details Types'
vid: contact_details_types
description: 'E.g. "Home", "Business"'
hierarchy: 0
weight: 0

View File

@ -151,7 +151,6 @@ class Person extends ContentEntityBase implements PersonInterface {
$fields['user_id'] = BaseFieldDefinition::create('entity_reference')
->setLabel(t('Authored by'))
->setDescription(t('The user ID of author of the Person entity.'))
->setRevisionable(TRUE)
->setSetting('target_type', 'user')
->setSetting('handler', 'default')
# ->setDisplayOptions('view', [
@ -180,7 +179,6 @@ class Person extends ContentEntityBase implements PersonInterface {
$fields['first_name'] = BaseFieldDefinition::create('string')
->setLabel(t('First Name'))
->setDescription(t('First Name.'))
->setRevisionable(TRUE)
->setSettings([
'max_length' => 50,
'text_processing' => 0,