public property CommerceCondition::$parent_entity_type in Commerce Core 8.2
The parent entity type ID.
This is the entity type ID of the entity that embeds the conditions. For example: 'commerce_promotion'.
When specified, a condition will only be available on that entity type.
Type: string
File
- src/
Annotation/ CommerceCondition.php, line 76
Class
- CommerceCondition
- Defines the condition plugin annotation object.
Namespace
Drupal\commerce\AnnotationCode
public $parent_entity_type;