public function ProductVariationController::addTitle in Commerce Core 8.2
Provides the add title callback for product variations.
Return value
string The title for the product variation add page.
File
- modules/
product/ src/ Controller/ ProductVariationController.php, line 55
Class
- ProductVariationController
- Provides title callbacks for product variation routes.
Namespace
Drupal\commerce_product\ControllerCode
public function addTitle() {
return $this
->t('Add variation');
}