You are here

public function GroupContentEntityDeleteAction::execute in Open Social 8.5

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  2. 8.6 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  3. 8.7 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  4. 8.8 modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  5. 10.3.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  6. 10.0.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  7. 10.1.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()
  8. 10.2.x modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php \Drupal\social_group\Plugin\Action\GroupContentEntityDeleteAction::execute()

File

modules/social_features/social_group/src/Plugin/Action/GroupContentEntityDeleteAction.php, line 22

Class

GroupContentEntityDeleteAction
Delete group content entity action without default confirmation form.

Namespace

Drupal\social_group\Plugin\Action

Code

public function execute($entity = NULL) {
  parent::execute($entity);
  return $this
    ->t('Remove members from a group');
}