What are Drupal Entities?

Поділитися
Вставка
  • Опубліковано 19 вер 2024

КОМЕНТАРІ • 10

  • @abclef
    @abclef 10 років тому +3

    Thanks! This explain clearly! In short, entity system is a OOP thing, if you're familiar with .NET, Entity is the Object base class in drupal.

  • @bluepresley9315
    @bluepresley9315 3 роки тому

    In your diagram of an Entity at 6:10, if "properties" are, by definition, applicable to every bundle of the entity type, shouldn't the properties you have listed fall under Node and not under Article? Leaving only the fields to exist under Article? Thinking about this from a programing perspective, if I were to define an entity type in code, I would have to define the properties that would be a mandatory part of every every bundle that is subsequently created, almost as if we're enforcing an Interface contract.

    • @eojthebrave
      @eojthebrave 3 роки тому

      That's a good suggestion. Thanks. More like a standard UML class model. Which, would make even more sense for Drupal 8+ where entities are typed, e.g.) `Node` extends `Entity` and `User` extends `Entity`.

  • @attila_szilagyi
    @attila_szilagyi 7 років тому

    This was very clear, thank you.

  • @asian0051
    @asian0051 11 років тому

    Thanks!!
    Simple and Great tutorial!

  • @devangjalgaonkar4972
    @devangjalgaonkar4972 8 років тому

    Really great tutorial. Thanks!!!!!!!

  • @deovratj1990
    @deovratj1990 8 років тому

    Thank you very much for such a great explanation!!

  • @DarktekG
    @DarktekG 8 років тому

    Thx for this guide :), thats why now Drupal 8 only use entities, amazing :D

  • @kumbackquatsta
    @kumbackquatsta 11 років тому

    i'm building a review site with review, maker, location custom content types. they are all related. i'd like to create views of makers and locations etc. i'm not sure if entities is what i'm looking for? also, using an entities approach, does that mean i can put multiple content types on one create content form?

  • @vertovalex
    @vertovalex 8 років тому

    Отличное видео, спасибо.