Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / Entity / Plugin / DataType / Deriver / EntityDeriver.php
index 98be20e04ea9cd792c2bfabf4672ce77400ffe17..5114c40f8ea08f54b53949a6cad01355f07d9841 100644 (file)
@@ -89,6 +89,7 @@ class EntityDeriver implements ContainerDeriverInterface {
       $this->derivatives[$entity_type_id] = [
         'label' => $entity_type->getLabel(),
         'constraints' => $entity_type->getConstraints(),
+        'internal' => $entity_type->isInternal(),
       ] + $base_plugin_definition;
 
       // Incorporate the bundles as entity:$entity_type:$bundle, if any.