Entity API

This group should probably have more organizers. See documentation on this recommendation.

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:

Drupal 8 issues:

oxydog's picture

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
sayatouma2015's picture

【削除希望】すみません、間違えて投稿してしまいました

特定のページで予期せぬエラーとなり、
ページを表示することができなくなってしまいました。


エラー

サイトに予期せぬエラーが起こりました。しばらくたってから再度お試しください。

モジュールの更新など、特に何も行っていないのですが、
急にエラーが出るようになりました。

一度予期せぬエラーが発生すると、その後は
そのページでは必ずエラーになります。

エラーが出るページは日に日に
増えていっているようです。

管理画面からログを確認しても、
特にこれといったメッセージは記録されていないようです。
関係あるのかわかりませんが、エラーが発生した時間帯には
以下のようなログが記録されていました。


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
sayatouma2015's picture

特定のページで不明なエラーが発生する

初めて質問させていただきます。
どうぞよろしくお願いいたします。

特定のページで「不明なエラーが発生しました」となり、
ページを表示することができなくなってしまいました。

モジュールの更新など、特に何も行っていないのですが、
急にエラーが出るようになりました。

一度不明なエラーが発生すると、その後は
そのページでは必ず不明なエラーになります。

不明なエラーが出るページは日に日に
増えていっているようです。

管理画面からログを確認したところ、
以下のようなメッセージが記録されていました。

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).

エラーが発生する原因を調べる方法はないでしょうか。
どうかお助け下さい。。。

Read more
stuckupstate's picture

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 more
stuckupstate's picture

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 more
ibakayoko's picture

HTML 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 more
fago's picture

2013-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

Read more
fago's picture

Drupal 8 Entity & Field API IRC meeting

Start: 
2013-12-26 17:00 UTC
Organizers: 
Event type: 
Online meeting (eg. IRC meeting)

Location: #drupal-entity on freenode.

Read more
fago's picture

D8 Entity API IRC meeting log

Here's the log of todays IRC meeting (Jun 6th, 16:00 UTC), #drupal-entity:

Read more
yorguey31's picture

Working 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()

Read more
ankitverma's picture

Drupal Developer (1 Position) | Trigyn Technologies

Employment type: 
Full time
Telecommute: 
Not allowed

Relevant Experience: 4+ years

Skills & Experience Required:
• Minimum 4 years of software development experience in PHP-Drupal.
• Advance knowledge of LINUX shell commands
• Understanding of object-oriented software development.
• Working experience on Ajax, JQuery, Javascript and MySQL.
• Knowledge of JSON and XML.
• Working experience on HTML, CSS
• Working experience on any IDE like Eclipse, Net Beans
• Overall understanding of open source architecture like LAMP.
• Good verbal and written skills.

Read more
fago's picture

EntityNG and Typed Data IRC meeting

Start: 
2013-01-24 17:00 - 18:00 UTC
Organizers: 
Event type: 
User group meeting

Next EntityNG and typed data API IRC meeting.

Join #drupal-entity on freenode!

Read more
fago's picture

D8 Entity API Sprint at DrupalCon Munich!

Start: 
2012-08-24 09:00 - 2012-08-26 17:00 Europe/Vienna
Organizers: 
Event type: 
Sprint

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 more
Crell's picture

WSCCI 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:

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 more
fago's picture

D8 Entity API Sprint at DrupalDevDays 2012

Start: 
2012-06-13 12:00 - 2012-06-15 18:00 Europe/Berlin
Organizers: 
Event type: 
Sprint

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

Read more
fago's picture

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.

Read more
ygerasimov's picture

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 more

IRC 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.
Read more
Subscribe with RSS Syndicate content