Devel Load

Drupal\commerce_product\Entity\Product {#1583
  #entityTypeId: "commerce_product"
  #enforceIsNew: null
  #typedData: null
  #originalEntity: null
  #cacheContexts: []
  #cacheTags: []
  #cacheMaxAge: -1
  #_serviceIds: []
  #_entityStorages: []
  #values: array:12 [
    "product_id" => array:1 [
      "x-default" => "2"
    ]
    "type" => array:1 [
      "x-default" => "wine"
    ]
    "uuid" => array:1 [
      "x-default" => "0cade783-eb6b-446e-ab45-798df1d5babc"
    ]
    "langcode" => array:1 [
      "x-default" => "en"
    ]
    "uid" => array:1 [
      "x-default" => "1"
    ]
    "status" => array:1 [
      "x-default" => "1"
    ]
    "title" => array:1 [
      "x-default" => "Wine bottle"
    ]
    "created" => array:1 [
      "x-default" => "1770746110"
    ]
    "changed" => array:1 [
      "x-default" => "1770746377"
    ]
    "default_langcode" => array:1 [
      "x-default" => "1"
    ]
    "stores" => array:1 [
      "x-default" => array:1 [
        0 => array:1 [
          "target_id" => "1"
        ]
      ]
    ]
    "variations" => array:1 [
      "x-default" => array:2 [
        0 => array:1 [
          "target_id" => "3"
        ]
        1 => array:1 [
          "target_id" => "4"
        ]
      ]
    ]
  ]
  #fields: []
  #fieldDefinitions: array:15 [
    "product_id" => Drupal\Core\Field\BaseFieldDefinition {#1656
      #definition: array:6 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1658
          #string: "ID"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "read-only" => true
        "provider" => "commerce_product"
        "field_name" => "product_id"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1657
        #definition: array:2 [
          "type" => "field_item:integer"
          "settings" => array:6 [
            "unsigned" => true
            "size" => "normal"
            "min" => ""
            "max" => ""
            "prefix" => ""
            "suffix" => ""
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1656}
      }
      #type: "integer"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "uuid" => Drupal\Core\Field\BaseFieldDefinition {#1660
      #definition: array:6 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1661
          #string: "UUID"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "read-only" => true
        "provider" => "commerce_product"
        "field_name" => "uuid"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1662
        #definition: array:2 [
          "type" => "field_item:uuid"
          "settings" => array:3 [
            "max_length" => 128
            "is_ascii" => true
            "case_sensitive" => false
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1660}
      }
      #type: "uuid"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "langcode" => Drupal\Core\Field\BaseFieldDefinition {#1663
      #definition: array:7 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1664
          #string: "Language"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "display" => array:2 [
          "view" => array:1 [
            "options" => array:1 [
              "region" => "hidden"
            ]
          ]
          "form" => array:1 [
            "options" => array:2 [
              "type" => "language_select"
              "weight" => 2
            ]
          ]
        ]
        "translatable" => true
        "provider" => "commerce_product"
        "field_name" => "langcode"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1665
        #definition: array:2 [
          "type" => "field_item:language"
          "settings" => []
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1663}
      }
      #type: "language"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "type" => Drupal\Core\Field\BaseFieldDefinition {#1666
      #definition: array:7 [
        "label" => "Product type"
        "required" => true
        "read-only" => true
        "provider" => "commerce_product"
        "field_name" => "type"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1667
        #definition: array:2 [
          "type" => "field_item:entity_reference"
          "settings" => array:3 [
            "target_type" => "commerce_product_type"
            "handler" => "default"
            "handler_settings" => []
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1666}
      }
      #type: "entity_reference"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "uid" => Drupal\Core\Field\BaseFieldDefinition {#1668
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1669
          #string: "Author"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "translatable" => true
        "default_value_callback" => "Drupal\commerce_product\Entity\Product::getDefaultEntityOwner"
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1670
          #string: "The product author."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "display" => array:2 [
          "view" => array:2 [
            "options" => array:1 [
              "region" => "hidden"
            ]
            "configurable" => true
          ]
          "form" => array:2 [
            "options" => array:2 [
              "type" => "entity_reference_autocomplete"
              "weight" => 5
            ]
            "configurable" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "uid"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1671
        #definition: array:2 [
          "type" => "field_item:entity_reference"
          "settings" => array:3 [
            "target_type" => "user"
            "handler" => "default"
            "handler_settings" => []
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1668}
      }
      #type: "entity_reference"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "status" => Drupal\Core\Field\BaseFieldDefinition {#1672
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1673
          #string: "Published"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "revisionable" => true
        "translatable" => true
        "default_value" => array:1 [
          0 => array:1 [
            "value" => true
          ]
        ]
        "display" => array:1 [
          "form" => array:2 [
            "options" => array:3 [
              "type" => "boolean_checkbox"
              "settings" => array:1 [
                "display_label" => true
              ]
              "weight" => 90
            ]
            "configurable" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "status"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1674
        #definition: array:2 [
          "type" => "field_item:boolean"
          "settings" => array:2 [
            "on_label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1675
              #string: "On"
              #arguments: []
              #translatedMarkup: null
              #options: []
              #stringTranslation: null
            }
            "off_label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1676
              #string: "Off"
              #arguments: []
              #translatedMarkup: null
              #options: []
              #stringTranslation: null
            }
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1672}
      }
      #type: "boolean"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "stores" => Drupal\Core\Field\BaseFieldDefinition {#1677
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1678
          #string: "Stores"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1679
          #string: "The product stores."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "required" => true
        "cardinality" => -1
        "display" => array:2 [
          "form" => array:2 [
            "options" => array:2 [
              "type" => "commerce_entity_select"
              "weight" => -10
            ]
            "configurable" => true
          ]
          "view" => array:2 [
            "options" => array:1 [
              "region" => "hidden"
            ]
            "configurable" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "stores"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1680
        #definition: array:2 [
          "type" => "field_item:entity_reference"
          "settings" => array:3 [
            "target_type" => "commerce_store"
            "handler" => "default"
            "handler_settings" => []
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1677}
      }
      #type: "entity_reference"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "title" => Drupal\Core\Field\BaseFieldDefinition {#1681
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1682
          #string: "Title"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1683
          #string: "The product title."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "required" => true
        "translatable" => true
        "display" => array:2 [
          "view" => array:2 [
            "options" => array:3 [
              "label" => "hidden"
              "type" => "string"
              "weight" => -5
            ]
            "configurable" => true
          ]
          "form" => array:2 [
            "options" => array:2 [
              "type" => "string_textfield"
              "weight" => -5
            ]
            "configurable" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "title"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1684
        #definition: array:2 [
          "type" => "field_item:string"
          "settings" => array:4 [
            "max_length" => 255
            "is_ascii" => false
            "case_sensitive" => false
            "default_value" => ""
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1681}
      }
      #type: "string"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "variations" => Drupal\Core\Field\BaseFieldDefinition {#1659
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1712
          #string: "Variations"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1711
          #string: "The product variations."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "required" => true
        "cardinality" => -1
        "display" => array:2 [
          "view" => array:2 [
            "options" => array:2 [
              "type" => "commerce_add_to_cart"
              "weight" => 10
            ]
            "configurable" => true
          ]
          "form" => array:2 [
            "options" => array:1 [
              "region" => "hidden"
            ]
            "configurable" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "variations"
        "entity_type" => "commerce_product"
        "bundle" => "wine"
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1714
        #definition: array:2 [
          "type" => "field_item:entity_reference"
          "settings" => array:3 [
            "target_type" => "commerce_product_variation"
            "handler" => "default"
            "handler_settings" => array:1 [
              "target_bundles" => array:1 [
                "wine" => "wine"
              ]
            ]
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1659}
      }
      #type: "entity_reference"
      #propertyDefinitions: null
      #schema: array:4 [
        "columns" => array:1 [
          "target_id" => array:3 [
            "description" => "The ID of the target entity."
            "type" => "int"
            "unsigned" => true
          ]
        ]
        "indexes" => array:1 [
          "target_id" => array:1 [
            0 => "target_id"
          ]
        ]
        "unique keys" => []
        "foreign keys" => []
      ]
      #indexes: []
    }
    "default_variation" => Drupal\Core\Field\BaseFieldDefinition {#1715
      #definition: array:10 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1716
          #string: "Default variation"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1717
          #string: "The default variation."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "computed" => true
        "cardinality" => 1
        "class" => "Drupal\commerce_product\Plugin\Field\ComputedDefaultVariation"
        "display" => array:2 [
          "form" => array:2 [
            "options" => array:1 [
              "region" => "hidden"
            ]
            "configurable" => false
          ]
          "view" => array:2 [
            "options" => array:1 [
              "region" => "hidden"
            ]
            "configurable" => false
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "default_variation"
        "entity_type" => "commerce_product"
        "bundle" => "wine"
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1718
        #definition: array:2 [
          "type" => "field_item:entity_reference"
          "settings" => array:3 [
            "target_type" => "commerce_product_variation"
            "handler" => "default"
            "handler_settings" => array:1 [
              "target_bundles" => array:1 [
                "wine" => "wine"
              ]
            ]
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1715}
      }
      #type: "entity_reference"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "path" => Drupal\Core\Field\BaseFieldDefinition {#1693
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1694
          #string: "URL alias"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1695
          #string: "The product URL alias."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "translatable" => true
        "display" => array:1 [
          "form" => array:2 [
            "options" => array:2 [
              "type" => "path"
              "weight" => 30
            ]
            "configurable" => true
          ]
        ]
        "computed" => true
        "provider" => "commerce_product"
        "field_name" => "path"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1696
        #definition: array:2 [
          "type" => "field_item:path"
          "settings" => []
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1693}
      }
      #type: "path"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "created" => Drupal\Core\Field\BaseFieldDefinition {#1697
      #definition: array:8 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1698
          #string: "Created"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1699
          #string: "The time when the product was created."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "translatable" => true
        "display" => array:2 [
          "form" => array:2 [
            "options" => array:2 [
              "type" => "datetime_timestamp"
              "weight" => 10
            ]
            "configurable" => true
          ]
          "view" => array:2 [
            "options" => array:1 [
              "region" => "hidden"
            ]
            "configurable" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "created"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1700
        #definition: array:2 [
          "type" => "field_item:created"
          "settings" => []
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1697}
      }
      #type: "created"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "changed" => Drupal\Core\Field\BaseFieldDefinition {#1701
      #definition: array:7 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1702
          #string: "Changed"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1703
          #string: "The time when the product was last edited."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "translatable" => true
        "provider" => "commerce_product"
        "field_name" => "changed"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1704
        #definition: array:2 [
          "type" => "field_item:changed"
          "settings" => []
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1701}
      }
      #type: "changed"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "default_langcode" => Drupal\Core\Field\BaseFieldDefinition {#1705
      #definition: array:9 [
        "label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1706
          #string: "Default translation"
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "description" => Drupal\Core\StringTranslation\TranslatableMarkup {#1707
          #string: "A flag indicating whether this is the default translation."
          #arguments: []
          #translatedMarkup: null
          #options: []
          #stringTranslation: null
        }
        "translatable" => true
        "revisionable" => true
        "default_value" => array:1 [
          0 => array:1 [
            "value" => true
          ]
        ]
        "provider" => "commerce_product"
        "field_name" => "default_langcode"
        "entity_type" => "commerce_product"
        "bundle" => null
      ]
      #typedDataManager: null
      #itemDefinition: Drupal\Core\Field\TypedData\FieldItemDataDefinition {#1708
        #definition: array:2 [
          "type" => "field_item:boolean"
          "settings" => array:2 [
            "on_label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1709
              #string: "On"
              #arguments: []
              #translatedMarkup: null
              #options: []
              #stringTranslation: null
            }
            "off_label" => Drupal\Core\StringTranslation\TranslatableMarkup {#1710
              #string: "Off"
              #arguments: []
              #translatedMarkup: null
              #options: []
              #stringTranslation: null
            }
          ]
        ]
        #typedDataManager: null
        #fieldDefinition: Drupal\Core\Field\BaseFieldDefinition {#1705}
      }
      #type: "boolean"
      #propertyDefinitions: null
      #schema: null
      #indexes: []
    }
    "body" => Drupal\field\Entity\FieldConfig {#1719
      #entityTypeId: "field_config"
      #enforceIsNew: null
      #typedData: null
      #originalEntity: null
      #cacheContexts: []
      #cacheTags: []
      #cacheMaxAge: -1
      #_serviceIds: []
      #_entityStorages: []
      #originalId: "commerce_product.wine.body"
      #status: true
      #uuid: "e3ae3c69-851d-42d9-b5eb-327ad851e527"
      -isUninstalling: false
      #langcode: "en"
      #third_party_settings: []
      #_core: []
      #trustedData: false
      #dependencies: array:2 [
        "config" => array:2 [
          0 => "commerce_product.commerce_product_type.wine"
          1 => "field.storage.commerce_product.body"
        ]
        "module" => array:1 [
          0 => "text"
        ]
      ]
      #isSyncing: false
      #id: "commerce_product.wine.body"
      #field_name: "body"
      #field_type: "text_with_summary"
      #entity_type: "commerce_product"
      #bundle: "wine"
      #label: "Body"
      #description: ""
      #settings: array:3 [
        "display_summary" => false
        "required_summary" => false
        "allowed_formats" => []
      ]
      #required: false
      #translatable: true
      #default_value: []
      #default_value_callback: null
      #fieldStorage: null
      #itemDefinition: null
      #constraints: []
      #propertyConstraints: []
      #deleted: false
    }
  ]
  #languages: null
  #langcodeKey: "langcode"
  #defaultLangcodeKey: "default_langcode"
  #activeLangcode: "x-default"
  #enforceDefaultTranslation: null
  #defaultLangcode: "en"
  #translations: array:1 [
    "x-default" => array:1 [
      "status" => 1
    ]
  ]
  #translationInitialize: false
  #newRevision: false
  #isDefaultRevision: true
  #entityKeys: array:3 [
    "bundle" => "wine"
    "id" => "2"
    "uuid" => "0cade783-eb6b-446e-ab45-798df1d5babc"
  ]
  #translatableEntityKeys: array:6 [
    "label" => array:1 [
      "x-default" => "Wine bottle"
    ]
    "langcode" => array:1 [
      "x-default" => "en"
    ]
    "published" => array:1 [
      "x-default" => "1"
    ]
    "owner" => array:1 [
      "x-default" => "1"
    ]
    "uid" => array:1 [
      "x-default" => "1"
    ]
    "default_langcode" => array:1 [
      "x-default" => "1"
    ]
  ]
  #validated: false
  #validationRequired: false
  #loadedRevisionId: null
  #revisionTranslationAffectedKey: "revision_translation_affected"
  #enforceRevisionTranslationAffected: []
  #isSyncing: false
  #defaultVariation: null
}