public function AdministrationLanguageNegotiationConditionManager::execute in Administration Language Negotiation 8
Executes an executable plugin.
Parameters
\Drupal\Core\Executable\ExecutableInterface $plugin: An executable plugin instance managed by the implementing manager.
Return value
mixed The returned data varies by plugin implementation, e.g. conditions return the boolean evaluation result.
Throws
\Drupal\Core\Executable\ExecutableException If the plugin could not be executed.
Overrides ExecutableManagerInterface::execute
File
Class
- AdministrationLanguageNegotiationConditionManager
- Manages administration language negotiation condition plugins.
Namespace
Drupal\administration_language_negotiationCode
public function execute(ExecutableInterface $condition) {
return $condition
->evaluate();
}