public function Domain::getArgument in Domain Access 8
Return the default argument.
This needs to be overridden by every default argument handler to properly do what is needed.
Overrides ArgumentDefaultPluginBase::getArgument
File
- domain/
src/ Plugin/ views/ argument_default/ Domain.php, line 60
Class
- Domain
- Default argument plugin to extract active domain ID.
Namespace
Drupal\domain\Plugin\views\argument_defaultCode
public function getArgument() {
return $this->domainNegotiator
->getActiveId();
}