public function DisableDomain::execute in Domain Access 8
Executes the plugin.
Overrides ExecutableInterface::execute
File
- domain/
src/ Plugin/ Action/ DisableDomain.php, line 24
Class
- DisableDomain
- Sets the domain status property to 0.
Namespace
Drupal\domain\Plugin\ActionCode
public function execute(DomainInterface $domain = NULL) {
$domain
->disable();
}