tripal / t4d8

This is a temporary repository for Drupal 9 upgrade for Tripal v4. It is meant to house issues related to the upgrade.
GNU General Public License v2.0
1 stars 10 forks source link

Tripal Bundle and Tripal Entity #13

Closed laceysanderson closed 4 years ago

laceysanderson commented 4 years ago

I'm starting to tackle Tripal Bundle and Tripal Entity; specifically,

laceysanderson commented 4 years ago

TripalBundle is now TripalEntityType to match D8 Node conventions. TripalEntityType Todo list

laceysanderson commented 4 years ago

Tripal Entity Type and Tripal Entities are working!!! You can now create entity types based on a tripal vocabulary term and then create basic pages of that type. At this point nothing is connected to Chado (completely generic!) and all Drupal fields work.

Next steps are to port over the API, title and URL patterns, etc.

laceysanderson commented 4 years ago

File Changelog: TripalEntity

TripalEntity.inc

tripal.entity.inc

This file is no longer needed as it's part of the old Entity API.

TripalEntityController.inc

All entity CRUD is now handled using the TripalEntity object...

This will be handled as part of group 8 - Other integrations.

TripalEntityUIController.inc

This is complete and has been expanded based on Drupal 8 standards.

TripalEntityViewsController.inc

Complete

laceysanderson commented 4 years ago

I'm leaving TripalEntityController.inc for now since it doesn't actually pertain to the functioning of entities. Page title formats and URL alias' now work.

laceysanderson commented 4 years ago

Basic views work for Tripal Content, Controlled Vocabularies and Controlled Vocabulary Terms. No views patch needed. Tripal4_Views_TripalEntity Tripal4_Views_TripalTerm Tripal4_Views_TripalVocab

More work will done as part of group 5 - Views.