public static function Utility::isBasicCartOrder in Basic cart 8
Same name and namespace in other branches
- 8.6 src/Utility.php \Drupal\basic_cart\Utility::isBasicCartOrder()
- 8.0 src/Utility.php \Drupal\basic_cart\Utility::isBasicCartOrder()
- 8.2 src/Utility.php \Drupal\basic_cart\Utility::isBasicCartOrder()
- 8.3 src/Utility.php \Drupal\basic_cart\Utility::isBasicCartOrder()
- 8.4 src/Utility.php \Drupal\basic_cart\Utility::isBasicCartOrder()
- 8.5 src/Utility.php \Drupal\basic_cart\Utility::isBasicCartOrder()
3 calls to Utility::isBasicCartOrder()
- basic_cart_entity_delete in ./
basic_cart.module - Implements hook_entity_delete().
- basic_cart_entity_insert in ./
basic_cart.module - Implements hook_entity_insert().
- basic_cart_entity_presave in ./
basic_cart.module - Implements hook_entity_presave().
File
- src/
Utility.php, line 32 - Contains \Drupal\basic_cart\Utility
Class
Namespace
Drupal\basic_cartCode
public static function isBasicCartOrder($bundle) {
if ($bundle == self::BASICCART_ORDER) {
return TRUE;
}
return FALSE;
}