class CommentBulkForm in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/Plugin/views/field/CommentBulkForm.php \Drupal\comment\Plugin\views\field\CommentBulkForm
- 9 core/modules/comment/src/Plugin/views/field/CommentBulkForm.php \Drupal\comment\Plugin\views\field\CommentBulkForm
Defines a comment operations bulk form element.
Plugin annotation
@ViewsField("comment_bulk_form");
Hierarchy
- class \Drupal\views\Plugin\views\field\BulkForm extends \Drupal\views\Plugin\views\field\FieldPluginBase implements CacheableDependencyInterface uses RedirectDestinationTrait, EntityTranslationRenderTrait, UncacheableFieldHandlerTrait
- class \Drupal\comment\Plugin\views\field\CommentBulkForm
Expanded class hierarchy of CommentBulkForm
1 file declares its use of CommentBulkForm
- CommentBulkFormTest.php in core/
modules/ comment/ tests/ src/ Unit/ Plugin/ views/ field/ CommentBulkFormTest.php
File
- core/
modules/ comment/ src/ Plugin/ views/ field/ CommentBulkForm.php, line 12
Namespace
Drupal\comment\Plugin\views\fieldView source
class CommentBulkForm extends BulkForm {
/**
* {@inheritdoc}
*/
protected function emptySelectedMessage() {
return $this
->t('Select one or more comments to perform the update on.');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BulkForm:: |
protected | property | An array of actions that can be executed. | |
BulkForm:: |
protected | property | The action storage. | |
BulkForm:: |
protected | property | The entity repository service. | |
BulkForm:: |
protected | property | The entity type manager. | |
BulkForm:: |
protected | property | The language manager. | |
BulkForm:: |
protected | property | The messenger. | |
BulkForm:: |
public | function | ||
BulkForm:: |
protected | function | Calculates a bulk form key. | |
BulkForm:: |
public | function | ||
BulkForm:: |
public static | function | ||
BulkForm:: |
protected | function | ||
BulkForm:: |
protected | function | Returns the available operations for this form. | |
BulkForm:: |
public | function |
The cache contexts associated with this object. Overrides CacheableDependencyInterface:: |
|
BulkForm:: |
public | function |
The maximum age for which this object may be cached. Overrides CacheableDependencyInterface:: |
|
BulkForm:: |
public | function |
The cache tags associated with this object. Overrides CacheableDependencyInterface:: |
|
BulkForm:: |
protected | function | ||
BulkForm:: |
public | function |
Returns the entity type identifier. Overrides EntityTranslationRenderTrait:: |
|
BulkForm:: |
protected | function | ||
BulkForm:: |
protected | function |
Returns the language manager. Overrides EntityTranslationRenderTrait:: |
|
BulkForm:: |
public | function |
Overrides UncacheableFieldHandlerTrait:: |
|
BulkForm:: |
protected | function |
Returns the top object of a view. Overrides EntityTranslationRenderTrait:: |
|
BulkForm:: |
public | function | ||
BulkForm:: |
protected | function | Loads an entity based on a bulk form key. | |
BulkForm:: |
public | function | ||
BulkForm:: |
public | function | ||
BulkForm:: |
public | function | ||
BulkForm:: |
public | function | Form constructor for the bulk form. | 1 |
BulkForm:: |
public | function | Submit handler for the bulk form. | |
BulkForm:: |
public | function | ||
BulkForm:: |
public | function | Constructs a new BulkForm object. | |
CommentBulkForm:: |
protected | function |
Returns the message to be displayed when there are no selected items. Overrides BulkForm:: |
|
EntityTranslationRenderTrait:: |
protected | property | The renderer to be used to render the entity row. | |
EntityTranslationRenderTrait:: |
public | function | Returns the entity translation matching the configured row language. | |
EntityTranslationRenderTrait:: |
protected | function | Returns the current renderer. | |
RedirectDestinationTrait:: |
protected | property | The redirect destination service. | 1 |
RedirectDestinationTrait:: |
protected | function | Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. | |
RedirectDestinationTrait:: |
protected | function | Returns the redirect destination service. | |
RedirectDestinationTrait:: |
public | function | Sets the redirect destination service. | |
UncacheableFieldHandlerTrait:: |
protected | function | Actually renders the field markup. | |
UncacheableFieldHandlerTrait:: |
abstract protected | function | ||
UncacheableFieldHandlerTrait:: |
public | function | ||
UncacheableFieldHandlerTrait:: |
public | function |