public function UserInCountry::summary in IP-based Determination of a Visitor's Country 8
Get the translated summary from the label annotation.
Return value
string The summary of the plugin.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException Thrown if a summary was not set.
Overrides ExecutablePluginTrait::summary
File
- src/
Plugin/ Condition/ UserInCountry.php, line 118
Class
- UserInCountry
- Provides a 'User is in country' condition.
Namespace
Drupal\ip2country\Plugin\ConditionCode
public function summary() {
return $this
->t('User IP is in Country');
}