diff --git a/token.module b/token.module index 32a38da..748ea2e 100644 --- a/token.module +++ b/token.module @@ -675,11 +675,11 @@ function token_entity_base_field_info(EntityTypeInterface $entity_type) { ->setTranslatable(TRUE) ->setDisplayOptions('view', array( 'label' => 'hidden', - 'type' => 'hidden', + 'region' => 'hidden', )) ->setComputed(TRUE) ->setDisplayOptions('form', array( - 'type' => 'hidden', + 'region' => 'hidden', )); return $fields;