class StatisticsNumeric in Drupal 10
Same name and namespace in other branches
- 8 core/modules/statistics/src/Plugin/views/field/StatisticsNumeric.php \Drupal\statistics\Plugin\views\field\StatisticsNumeric
- 9 core/modules/statistics/src/Plugin/views/field/StatisticsNumeric.php \Drupal\statistics\Plugin\views\field\StatisticsNumeric
Field handler to display numeric values from the statistics module.
Plugin annotation
@ViewsField("statistics_numeric");
Hierarchy
- class \Drupal\views\Plugin\views\field\NumericField extends \Drupal\views\Plugin\views\field\FieldPluginBase
- class \Drupal\statistics\Plugin\views\field\StatisticsNumeric
Expanded class hierarchy of StatisticsNumeric
File
- core/
modules/ statistics/ src/ Plugin/ views/ field/ StatisticsNumeric.php, line 15
Namespace
Drupal\statistics\Plugin\views\fieldView source
class StatisticsNumeric extends NumericField {
/**
* {@inheritdoc}
*/
public function access(AccountInterface $account) {
return $account
->hasPermission('view post access counter');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NumericField:: |
public | function | 1 | |
NumericField:: |
protected | function | 1 | |
NumericField:: |
public | function | 2 | |
NumericField:: |
public | function | ||
StatisticsNumeric:: |
public | function |