You are here

public function AddressBookController::deleteTitle in Commerce Core 8.2

Builds a delete title for the given profile.

Parameters

\Drupal\profile\Entity\ProfileInterface $profile: The profile.

Return value

string The delete title.

1 string reference to 'AddressBookController::deleteTitle'
commerce_order.routing.yml in modules/order/commerce_order.routing.yml
modules/order/commerce_order.routing.yml

File

modules/order/src/Controller/AddressBookController.php, line 104

Class

AddressBookController
Provides the address book UI.

Namespace

Drupal\commerce_order\Controller

Code

public function deleteTitle(ProfileInterface $profile) {
  return $this
    ->t('Delete %label', [
    '%label' => $profile
      ->label(),
  ]);
}