---
url: 'https://dxpr.com/zh-hans/hc/documentation/learn-drupal/drupal-glossary/entity-api'
title: 'Entity API（实体 API） | DXPR'
author:
  name: Jurriaan
  url: 'https://dxpr.com/users/jurriaan'
date: '2026-10-24T03:00:36+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: article
summary: 'Drupal 的 Entity API 以统一的方式处理不同类型的数据，是创建和管理实体的系统。实体是数据的抽象表示，用来存储和操作内容、配置等信息。Entity API 以一致的方式创建、访问和操作实体，不受实体类型影响。Entity API 是开发者的强大工具，开发者可以创建自定义实体，定义自己的字段、属性和关联，从而构建复杂的数据结构和实体间关联，并以统一的方式访问和操作任何类型的实体。Entity API 是 Drupal 架构的重要组成部分，以一致的方式处理不同类型的数据。它用来创建和管理作为数据抽象表示的实体，而实体用来存储和操作内容、配置等信息。Entity API 以统一的方式创建、访问和操作实体，不受实体类型影响。'
tags:
  - Drupal-woordenlijst
image: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
published: true
og:
  site_name: DXPR
  updated_time: '2026-10-24T03:00:36+0000'
  'image:alt': 'DXPR, powered by Drupal: AI-powered Drupal for marketers.'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      mainEntity: {  }
    -
      '@type': TechArticle
      headline: 'Entity API（实体 API）'
      description: 'Drupal 的 Entity API 以统一的方式处理不同类型的数据，是创建和管理实体的系统。实体是数据的抽象表示，用来存储和操作内容、配置等信息。Entity API 以一致的方式创建、访问和操作实体，不受实体类型影响。Entity API 是开发者的强大工具，开发者可以创建自定义实体，定义自己的字段、属性和关联，从而构建复杂的数据结构和实体间关联，并以统一的方式访问和操作任何类型的实体。Entity API 是 Drupal 架构的重要组成部分，以一致的方式处理不同类型的数据。它用来创建和管理作为数据抽象表示的实体，而实体用来存储和操作内容、配置等信息。Entity API 以统一的方式创建、访问和操作实体，不受实体类型影响。'
      image:
        '@type': ImageObject
        url: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
        width: '1200'
        height: '630'
      datePublished: '2026-10-24T03:00:36+0000'
      dateModified: '2026-10-24T03:00:36+0000'
      author:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      mainEntityOfPage: 'https://dxpr.com/zh-hans/hc/documentation/learn-drupal/drupal-glossary/entity-api'
      articleSection: Drupal-woordenlijst
    -
      '@type': WebPage
      '@id': 'https://dxpr.com/zh-hans/hc/documentation/learn-drupal/drupal-glossary/entity-api'
      description: 'Drupal 的 Entity API 以统一的方式处理不同类型的数据，是创建和管理实体的系统。实体是数据的抽象表示，用来存储和操作内容、配置等信息。Entity API 以一致的方式创建、访问和操作实体，不受实体类型影响。Entity API 是开发者的强大工具，开发者可以创建自定义实体，定义自己的字段、属性和关联，从而构建复杂的数据结构和实体间关联，并以统一的方式访问和操作任何类型的实体。Entity API 是 Drupal 架构的重要组成部分，以一致的方式处理不同类型的数据。它用来创建和管理作为数据抽象表示的实体，而实体用来存储和操作内容、配置等信息。Entity API 以统一的方式创建、访问和操作实体，不受实体类型影响。'
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: 首页
            item: 'https://dxpr.com/zh-hans'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
      inLanguage: zh-hans
---
[Help Center](/zh-hans/node/75)/[Documentation](/zh-hans/hc/documentation) /[Learn Drupal](/hc/documentation/learn-drupal) /[Drupal-woordenlijst](/hc/documentation/learn-drupal/drupal-woordenlijst) # Entity API（实体 API）.

 Learn DrupalDrupal-woordenlijst

   ## In this guide

Drupal 的 Entity API 以统一的方式处理不同类型的数据，是创建和管理实体的系统。实体是数据的抽象表示，用来存储和操作内容、配置等信息。Entity API 以一致的方式创建、访问和操作实体，不受实体类型影响。

Entity API 是开发者的强大工具，开发者可以创建自定义实体，定义自己的字段、属性和关联，从而构建复杂的数据结构和实体间关联，并以统一的方式访问和操作任何类型的实体。

Entity API 是 Drupal 架构的重要组成部分，以一致的方式处理不同类型的数据。它用来创建和管理作为数据抽象表示的实体，而实体用来存储和操作内容、配置等信息。Entity API 以统一的方式创建、访问和操作实体，不受实体类型影响。