{"id":57277,"date":"2023-05-07T12:40:00","date_gmt":"2023-05-07T07:10:00","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=57277"},"modified":"2023-05-11T12:43:58","modified_gmt":"2023-05-11T07:13:58","slug":"configuration-entity-vs-content-entity-in-drupal","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/","title":{"rendered":"Configuration entity vs Content entity in Drupal"},"content":{"rendered":"<p><strong>What is Entity?<\/strong><br \/>\nEntities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database.<\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">Entities in Drupal provide a structured way of storing and managing data.<\/span><\/li>\n<li>Several types of entities included in Drupal core makeup both the configuration and content of a default installation.<\/li>\n<li>Entities are specifically typed objects, with each entity type defining a class that will be used for instances of the given entity.<\/li>\n<li>Drupal entities are node (content), taxonomy term, user, comments, block, file, imagestyle.<\/li>\n<li><span style=\"font-weight: 400;\">Consistent way to access field values.\u00a0<\/span><br \/>\n<i><span style=\"font-weight: 400;\">$nodeStorage = \\Drupal::entityTypeManager()-&gt;getStorage(&#8216;node&#8217;);<\/span><\/i><i><span style=\"font-weight: 400;\">$node = $nodeStorage-&gt;load($nid);<\/span><\/i><i><span style=\"font-weight: 400;\">print_r($node-&gt;get(&#8216;field_name&#8217;)-&gt;getValue());<\/span><\/i><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><strong>Content entity vs Configuration Entity\u00a0<\/strong><\/h3>\n<p><strong>Content entity\u00a0<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A content entity is an item of content data, consisting of text, HTML markup, images, attached files, and other data intended to be displayed to site visitors.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Content entities are grouped into entity types, which have different purposes and are displayed in very different ways on the site. <\/span><\/li>\n<li><span style=\"font-weight: 400;\">Content Entities\u00a0<\/span><span style=\"font-weight: 400;\">Stores data inside table.<\/span><\/li>\n<\/ul>\n<p><b>Examples of Content Entities\u00a0<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Block content<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Comment<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Message<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">File<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Menu Link<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Content (node)<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Shortcut<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Taxonomy term<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">User<\/span><\/li>\n<\/ul>\n<p><strong>How to create Content Entity\u00a0 \u00a0 \u00a0<\/strong><\/p>\n<p>Lets Create a Custom Entity having the following fields :<\/p>\n<ul>\n<li>Name<\/li>\n<li>Email<\/li>\n<li>Contact number<\/li>\n<\/ul>\n<p><b>Use command\u00a0<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">drupal geco\u00a0 &#8211; created a custom Content Entity <\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57267\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-53-31.png\" alt=\"Blog image\" width=\"538\" height=\"266\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-53-31.png 538w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-53-31-300x148.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<p>Then Adding field in (entityname).php File<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57268\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-55-06.png\" alt=\"Blog image\" width=\"539\" height=\"390\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-55-06.png 539w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-55-06-300x217.png 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>How it look&#8217;s in Admin<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57269\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-57-10.png\" alt=\"Blog image\" width=\"537\" height=\"369\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-57-10.png 537w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-57-10-300x206.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p>After saving a content entity a entry will generate<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57270\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-02-41.png\" alt=\"Blog image\" width=\"535\" height=\"289\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-02-41.png 535w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-02-41-300x162.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/p>\n<p>Stored data in a database (in rows)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57266\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-44-44.png\" alt=\"Blog image\" width=\"539\" height=\"312\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-44-44.png 539w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-44-44-300x174.png 300w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Configuration Entity<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">They are objects that allow to storage information for configurable settings.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Configuration entities can be exported via a configuration management system.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It is stored within the common config database table as rows. eg: image style.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Stores data inside the object<\/span><\/li>\n<\/ul>\n<p><b>Examples of Configuration Entities\u00a0<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Action<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Block<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Breakpoints<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Comment Type<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Content Type<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Date Format<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Field<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Image Style<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Language<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Menu<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Role<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Views<\/span><\/li>\n<\/ul>\n<p><strong>How to Create a Configuration Entity<\/strong><\/p>\n<p>Let&#8217;s Create Config Entity to configure settings for an API like<\/p>\n<ul>\n<li>endpoint<\/li>\n<li>access key<\/li>\n<li>secret key<\/li>\n<\/ul>\n<p><b>Using Drupal gec &#8211; created a config Entity\u00a0<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57271\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-34-08.png\" alt=\"Blog image\" width=\"538\" height=\"262\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-34-08.png 538w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-34-08-300x146.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<p>Fields<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57276\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-35-58.png\" alt=\"Blog image\" width=\"538\" height=\"341\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-35-58.png 538w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-35-58-300x190.png 300w\" sizes=\"auto, (max-width: 538px) 100vw, 538px\" \/><\/p>\n<p>How it look&#8217;s in Admin<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57275\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-12.png\" alt=\"Blog image\" width=\"517\" height=\"286\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-12.png 517w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-12-300x166.png 300w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/p>\n<p>After saving a Configuration entity, it will only show a message (created\/saved), not its field entry.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57274\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-32.png\" alt=\"Blog image\" width=\"458\" height=\"226\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-32.png 458w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-32-300x148.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/p>\n<p>Stored data in a database (In Object)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57273\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-49.png\" alt=\"Blog image\" width=\"499\" height=\"99\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-49.png 499w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-36-49-300x60.png 300w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/p>\n<p>How it&#8217;s object look like<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-57272\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-37-02.png\" alt=\"Blog image\" width=\"503\" height=\"96\" srcset=\"https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-37-02.png 503w, https:\/\/2thenew.online\/blog\/wp-content\/uploads\/2023\/04\/Screenshot-from-2023-04-29-19-37-02-300x57.png 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p>&nbsp;<\/p>\n<div class=\"ap-custom-wrapper\"><\/div><!--ap-custom-wrapper-->","protected":false},"excerpt":{"rendered":"<p>What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default [&hellip;]<\/p>\n","protected":false},"author":1582,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":276,"footnotes":""},"categories":[3602],"tags":[5211],"class_list":["post-57277","post","type-post","status-publish","format-standard","hentry","category-drupal","tag-drupal-drupalentity-drupal8-drupal9"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Rohit Sharma\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Configuration entity vs Content entity in Drupal | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Configuration entity vs Content entity in Drupal | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#article\",\"name\":\"Configuration entity vs Content entity in Drupal | TO THE NEW Blog\",\"headline\":\"Configuration entity vs Content entity in Drupal\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/rohit-sharma\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2023\\\/04\\\/Screenshot-from-2023-04-29-18-53-31.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#articleImage\"},\"datePublished\":\"2023-05-07T12:40:00+05:30\",\"dateModified\":\"2023-05-11T12:43:58+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#webpage\"},\"articleSection\":\"Drupal, Drupal DrupalEntity Drupal8 Drupal9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/#listItem\",\"name\":\"Drupal\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/#listItem\",\"position\":2,\"name\":\"Drupal\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#listItem\",\"name\":\"Configuration entity vs Content entity in Drupal\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#listItem\",\"position\":3,\"name\":\"Configuration entity vs Content entity in Drupal\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/drupal\\\/#listItem\",\"name\":\"Drupal\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/rohit-sharma\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/rohit-sharma\\\/\",\"name\":\"Rohit Sharma\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/d611d23d-acc7-465a-8739-9cb44e1452e0_Rohit-Sharma-Profile-Pitcure.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Rohit Sharma\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/\",\"name\":\"Configuration entity vs Content entity in Drupal | TO THE NEW Blog\",\"description\":\"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/configuration-entity-vs-content-entity-in-drupal\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/rohit-sharma\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/rohit-sharma\\\/#author\"},\"datePublished\":\"2023-05-07T12:40:00+05:30\",\"dateModified\":\"2023-05-11T12:43:58+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Configuration entity vs Content entity in Drupal | TO THE NEW Blog","description":"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default","canonical_url":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#article","name":"Configuration entity vs Content entity in Drupal | TO THE NEW Blog","headline":"Configuration entity vs Content entity in Drupal","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/rohit-sharma\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2023\/04\/Screenshot-from-2023-04-29-18-53-31.png","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#articleImage"},"datePublished":"2023-05-07T12:40:00+05:30","dateModified":"2023-05-11T12:43:58+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#webpage"},"articleSection":"Drupal, Drupal DrupalEntity Drupal8 Drupal9"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/drupal\/#listItem","name":"Drupal"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/drupal\/#listItem","position":2,"name":"Drupal","item":"https:\/\/2thenew.online\/blog\/category\/drupal\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#listItem","name":"Configuration entity vs Content entity in Drupal"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#listItem","position":3,"name":"Configuration entity vs Content entity in Drupal","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/drupal\/#listItem","name":"Drupal"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/rohit-sharma\/#author","url":"https:\/\/2thenew.online\/blog\/author\/rohit-sharma\/","name":"Rohit Sharma","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/d611d23d-acc7-465a-8739-9cb44e1452e0_Rohit-Sharma-Profile-Pitcure.jpeg","width":96,"height":96,"caption":"Rohit Sharma"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#webpage","url":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/","name":"Configuration entity vs Content entity in Drupal | TO THE NEW Blog","description":"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/rohit-sharma\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/rohit-sharma\/#author"},"datePublished":"2023-05-07T12:40:00+05:30","dateModified":"2023-05-11T12:43:58+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Configuration entity vs Content entity in Drupal | TO THE NEW Blog","og:description":"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default","og:url":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Configuration entity vs Content entity in Drupal | TO THE NEW Blog","twitter:description":"What is Entity? Entities are usually recognizable concepts. For ex-employee of an organization such as persons, places, things, or events that have relevance to the database. Entities in Drupal provide a structured way of storing and managing data. Several types of entities included in Drupal core makeup both the configuration and content of a default","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"57277","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65e04602c6028","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2023-05-11 07:10:00","updated":"2024-02-29 08:53:22","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/drupal\/\" title=\"Drupal\">Drupal<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tConfiguration entity vs Content entity in Drupal\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Drupal","link":"https:\/\/2thenew.online\/blog\/category\/drupal\/"},{"label":"Configuration entity vs Content entity in Drupal","link":"https:\/\/2thenew.online\/blog\/configuration-entity-vs-content-entity-in-drupal\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/57277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/1582"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=57277"}],"version-history":[{"count":3,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/57277\/revisions"}],"predecessor-version":[{"id":57357,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/57277\/revisions\/57357"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=57277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=57277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=57277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}