GroupContentEntityDeleteAction.php in Open Social 8.5
Same filename and directory in other branches
- 8.9 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 8.6 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 8.7 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 8.8 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 10.3.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 10.0.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 10.1.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
- 10.2.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php
Namespace
Drupal\social_group\Plugin\ActionFile
modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.phpView source
<?php
namespace Drupal\social_group\Plugin\Action;
use Drupal\views_bulk_operations\Plugin\Action\EntityDeleteAction;
/**
* Delete group content entity action without default confirmation form.
*
* @Action(
* id = "social_group_delete_group_content_action",
* label = @Translation("Delete selected group content entities"),
* type = "group_content",
* confirm = TRUE,
* )
*/
class GroupContentEntityDeleteAction extends EntityDeleteAction {
/**
* {@inheritdoc}
*/
public function execute($entity = NULL) {
parent::execute($entity);
return $this
->t('Remove members from a group');
}
}
Classes
Name | Description |
---|---|
GroupContentEntityDeleteAction | Delete group content entity action without default confirmation form. |