public function AdjustmentType::hasUi in Commerce Core 8.2
Gets whether the adjustment type can be created from the UI.
Return value
bool TRUE if the adjustment type can be created from the UI, FALSE otherwise.
Overrides AdjustmentTypeInterface::hasUi
File
- modules/
order/ src/ Plugin/ Commerce/ AdjustmentType/ AdjustmentType.php, line 50
Class
- AdjustmentType
- Provides the adjustment type class.
Namespace
Drupal\commerce_order\Plugin\Commerce\AdjustmentTypeCode
public function hasUi() {
return $this->pluginDefinition['has_ui'] == TRUE;
}