This is a discussion group for people developing with the Entity API of Drupal 7 or making the entity API for Drupal 8 shine.
Drupal 7 resources:
- General docs: How to create a new entity
- Entity API module and docs.
Drupal 8 issues:
- Check the META issue: [META] Drupal 8 Entity API improvements
Your thoughts on GreatAlbum Genealogy Data Model
After the really great post by lhridley on her First stab at data structures for a Drupal 7 based Genealogy site, I'm hoping this will garner robust feedback as well. This is for the launch of the GreatAlbum site.
Read moreEntity Types vs Content Types?!
Hi All,
I'm in the process of building a genealogy site on Drupal 7, with Organic Groups in order to have many family trees, each contained in an Album(OG). Speaking in database terms, the content is represented by a range of entities (also see attachment):
- Album - using OG, which "contains" all these other entities:
- Family
- Individual
- Event
- Place
- Story
- Citation
- Source
- Repository
Delete Entity by GUID
Hi guys,
I'm new to Drupal API development, but I'm realising more and more every day how powerful it is, and I would like to start using it.
I'm not sure if this is the right place to post questions like this, but here goes:
Read more【削除希望】すみません、間違えて投稿してしまいました
特定のページで予期せぬエラーとなり、
ページを表示することができなくなってしまいました。
エラー
サイトに予期せぬエラーが起こりました。しばらくたってから再度お試しください。
モジュールの更新など、特に何も行っていないのですが、
急にエラーが出るようになりました。
一度予期せぬエラーが発生すると、その後は
そのページでは必ずエラーになります。
エラーが出るページは日に日に
増えていっているようです。
管理画面からログを確認しても、
特にこれといったメッセージは記録されていないようです。
関係あるのかわかりませんが、エラーが発生した時間帯には
以下のようなログが記録されていました。
Notice: Trying to get property of non-object in user_node_load() (line 3684 of /var/www/vhosts/hogehoge.com/httpdocs/modules/user/user.module).
Read more特定のページで不明なエラーが発生する
初めて質問させていただきます。
どうぞよろしくお願いいたします。
特定のページで「不明なエラーが発生しました」となり、
ページを表示することができなくなってしまいました。
モジュールの更新など、特に何も行っていないのですが、
急にエラーが出るようになりました。
一度不明なエラーが発生すると、その後は
そのページでは必ず不明なエラーになります。
不明なエラーが出るページは日に日に
増えていっているようです。
管理画面からログを確認したところ、
以下のようなメッセージが記録されていました。
Notice: Trying to get property of non-object in user_node_load() (line 3684 of /var/www/vhosts/hogehoge.com/httpdocs/modules/user/user.module).
Notice: Undefined index: 0 in user_node_load() (line 3684 of /var/www/vhosts/hogehoge.com/httpdocs/modules/user/user.module).
エラーが発生する原因を調べる方法はないでしょうか。
どうかお助け下さい。。。
I want to build an Entity of a Content type I created with Field Collections.
The correct thing to do is turn it into an Entity?
Read moreI want to build an Entity of a Content type I created with Field Collections.
The correct thing to do is turn it into an Entity?
Read moreHTML in field label
Hello,
Need some help with Field API/Form/Entity API.
Issue: Want the html in the field label to be processed on node view/node edit/ and in drupal views.
I am currently working on a drupal site and facing one blocking issue.
I am posting here to see if i can get some ideas from the community on how i can address the issue.
I have attached some screenshot of what we have implemented.
The HTML added in the field label is not processed on display. the html tag are displayed like the rest of the label.
Content Type node ADD form
Read more2013-12-12 IRC Meeting log
It folllows the log from todays d8 entity & field API irc meeting at #drupal-entity:
I suppose the elephant in the room is https://drupal.org/node/2114707
https://drupal.org/node/2114707 => Allow per-bundle overrides of field definitions [#2114707] => 11 comments, 2 IRC mentions
oh dear!
;)
would be nice to have alex here..
--- timplunkettAFK heißt jetzt timplunkett
yeah, I'd suggest we try schedule a call where we have alex as well and discuss it then?
but feel free to start with something easier :P
Drupal 8 Entity & Field API IRC meeting
D8 Entity API IRC meeting log
Here's the log of todays IRC meeting (Jun 6th, 16:00 UTC), #drupal-entity:
Read moreWorking with date field
Despite reading some documentation and looking to google on this subject i don't achiev to do the job ...
severals thing dont' goes well :
1)
$wrapper->my_date_field->value()
gives me a timestamp and not a datetime object.
2)
i can't find a way to get the value2 in my field
$wrapper->my_date_field->value2
$wrapper->my_date_field->value2->value()
$wrapper->my_date_field['value2']
$wrapper->my_date_field['value2']>value
doesn't work.
3)trying to set the date is a problem too
$wrapper->my_date_field->set()
$wrapper->my_date_field->value->set()
EntityNG and Typed Data IRC meeting
D8 Entity API Sprint at DrupalCon Munich!
Let's continue sprinting on the D8 entity API at the DrupalCon Munich Sprints. There are lots of issues you can help with to ensure the entity API in D8 will be more sane - so help out and join us for sprinting on the Entity API!
Dates:
- Friday, 24th August - at the official DrupalCon sprints
- Saturday 25th August - Sunday 26th August - we'll join the multilingual initative sprints!
Signup:
Read moreWSCCI Web Services Format Sprint Report
A small team met in Paris at the office of Commerce Guys from June 3-5th to discuss Drupal's web services serialization and syndication format needs. In short, "OK, we are going to have all of this fun new routing capability, now what do we do with it?" More specifically, how do we go about serializing Drupal data for consumption by remote programs (either other Drupal sites as in the case of content staging, other non-Drupal sites, client-side applications, or mobile apps), and what protocols and APIs do we make available to manipulate that data?
In attendance were:
- Larry Garfield, WSCCI Lead
- Wolfgang Ziegler, Entity maintainer
- Dick Olsson, Deploy maintainer
- Damien Tournoud, Core generalist and gracious host
- Alex Bronstein (via skype), Core generalist
The raw notes from the sprint are available as a Google Doc, but as usual are rather disjoint and likely won't make sense if you weren't there. A more complete report is below.
Read moreD8 Entity API Sprint at DrupalDevDays 2012
Let's have the next D8 entity API sprint at and right before the Drupal Dev Days 2012 in Barcelona!
Suggested sprint topics:
- Complete the conversion of all entity types to classed objects
- Entity property API
- Unifying Entity and Field storage systems
D8 Entity API Code-Sprint at DrupalCon Denver
Let's have a D8 Entity API Code-Sprint in Denver on the regular Code-Sprint day, so we can move on in the roadmap.
Signup if you are interested to help moving the D8 entity API along - there is plenty to do!
We should co-locate with the D8MI Sprint (http://groups.drupal.org/node/209803) to ease cooperating for entity property translation.
Also don't miss the D8 Entity API BoF.
Blog post about Entity API
Hi everyone,
I would like to introduce my blog post about Entity API http://www.trellon.com/content/blog/creating-own-entities-entity-api
Also I would really love to ask participants of this group to help to push Revisions in Entity API forward. The issue is http://drupal.org/node/996696
Thanks!
Yuriy
Read moreIRC cloaks
Please add your IRC nick and drupal.org user id below if you want a drupal IRC cloak. We want to hand it to people who have some idea about how the Drupal community works. So here are three possible ways to decide that:
- Common sense (I.E. any well known member of the community for which cloak eligibility would be blatantly obvious)
- Have a full, non-sandbox project, link to it.
- Has at least two eligible people vouch for them.