public function DeleteDomain::execute in Domain Access 8
Executes the plugin.
Overrides ExecutableInterface::execute
File
- domain/
src/ Plugin/ Action/ DeleteDomain.php, line 24
Class
- DeleteDomain
- Deletes a domain record.
Namespace
Drupal\domain\Plugin\ActionCode
public function execute(DomainInterface $domain = NULL) {
$domain
->delete();
}