public function BundleItemOrderItemInlineForm::getEntityTypeLabels in Commerce Product Bundle 8
Gets the entity type labels (singular, plural).
@todo Remove when #1850080 lands and IEF starts requiring Drupal 8.1.x
Return value
array An array with two values:
- singular: The lowercase singular label.
- plural: The lowercase plural label.
Overrides EntityInlineForm::getEntityTypeLabels
File
- src/
Form/ BundleItemOrderItemInlineForm.php, line 17
Class
- BundleItemOrderItemInlineForm
- Defines the inline form for order items.
Namespace
Drupal\commerce_product_bundle\FormCode
public function getEntityTypeLabels() {
$labels = [
'singular' => t('product bundle item order item'),
'plural' => t('product bundle item order items'),
];
return $labels;
}