This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\my_module\Plugin\Commerce\PromotionOffer; | |
use Drupal\commerce_order\Adjustment; | |
use Drupal\commerce_price\Price; | |
use Drupal\commerce_promotion\Entity\PromotionInterface; | |
use Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer\PromotionOfferBase; | |
use Drupal\Core\Entity\EntityInterface; | |
use Drupal\Core\Form\FormStateInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\wbc_custom\Plugin\Field\FieldWidget; | |
use Drupal\Core\Field\FieldDefinitionInterface; | |
use Drupal\Core\Field\FieldItemListInterface; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\Core\Field\Plugin\Field\FieldWidget\EntityReferenceAutocompleteWidget; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
langcode: en | |
status: true | |
dependencies: | |
enforced: | |
module: | |
- wbconline_migrate | |
id: commerce_store | |
migration_tags: null | |
migration_group: wbconline | |
label: 'Create default commerce store' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies: | |
enforced: | |
module: | |
- wbconline_migrate | |
id: product_shipping | |
label: 'Create product shipping conditions taxonomy terms' | |
migration_group: wbconline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\galt\Plugin\Commerce\Condition; | |
use Drupal\commerce\Plugin\Commerce\Condition\ConditionBase; | |
use Drupal\Component\Utility\NestedArray; | |
use Drupal\Core\Entity\EntityInterface; | |
use Drupal\Core\Entity\EntityTypeManagerInterface; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\Core\Plugin\ContainerFactoryPluginInterface; |