Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Turning these two tables into entities would result in the following benefits:
* Fieldable entities, which make these two easy to be extended.
* Better views integration so a View of type Rendered Entity can be built in order to list Tweets along with other entity types (such as nodes).
* Better caching.
* Display control at the User Interface.
Comment | File | Size | Author |
---|---|---|---|
#7 | Selection_002.png | 49.16 KB | juampynr |
Comments
Comment #1
juampynr CreditAttribution: juampynr commentedFinally started working on this. So far I have created a new branch 7.x-6.x where I have defined the twitter_status and twiter_account entitites and the account listings are now using entity functions.
Comment #2
juampynr CreditAttribution: juampynr commentedUpdated core twitter module so it uses entity CRUD functions. Needs testing.
Submodules have not been updated yet.
http://drupalcode.org/project/twitter.git/commit/096f45e
Comment #3
gappleExciting! I've been thinking about how utilizing entities could allow better integration for Twitterfield and Twitterstream modules.
It would be helpful to update the issue summary with what's accomplished & yet to be done to communicate where contributions could be made.
Comment #4
juampynr CreditAttribution: juampynr commentedSo far I am working on 7.x-6.x and have migrated twitter, and part of twitter_post module. It certainly simplifies logic and makes it way flexible :D
Comment #5
juampynr CreditAttribution: juampynr commentedTwitter Post now offers a Twitter field to any entity for posting to Twitter.com.
Pending to review twitter_signin and twitter_actions submodules.
Comment #6
juampynr CreditAttribution: juampynr commentedChanged branch to 7.x-6.x
Comment #7
juampynr CreditAttribution: juampynr commentedFixed a few bugs at twitter_post. This is how it looks like when added as a multi-valued field to a content type:
Pending to upgrade twitter_signin and twitter_actions to be able to have a beta release.
Comment #8
torgosPizzaThis is great! Will be happy to help test the latest code tonight.
Comment #9
juampynr CreditAttribution: juampynr commentedReviewed twitter_actions submodule. Just need to update twitter_signin to have the first beta version ready.
Comment #10
juampynr CreditAttribution: juampynr commentedReviewed twitter_signin. Publishing first alpha release.
Comment #11
jdleonardCross-referencing to related ticket #1942514: Store Twitter accounts in fields (not as entities)