class GroupContentEntityDeleteAction in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 8.6 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 8.7 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 8.8 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 10.3.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 10.0.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 10.1.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
- 10.2.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction
Delete group content entity action without default confirmation form.
Plugin annotation
@Action(
id = "social_group_delete_group_content_action",
label = @Translation("Delete selected group content entities"),
type = "group_content",
confirm = TRUE,
)
Hierarchy
- class \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction extends \Drupal\views_bulk_operations\Plugin\Action\EntityDeleteAction
Expanded class hierarchy of GroupContentEntityDeleteAction
File
- modules/
social_features/ social_group/ src/ Plugin/ Action/ GroupContentEntityDeleteAction.php, line 17
Namespace
Drupal\social_group\Plugin\ActionView source
class GroupContentEntityDeleteAction extends EntityDeleteAction {
/**
* {@inheritdoc}
*/
public function execute($entity = NULL) {
parent::execute($entity);
return $this
->t('Remove members from a group');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GroupContentEntityDeleteAction:: |
public | function |