You are here

public function ActivityNotifications::__construct in Open Social 10.1.x

Same name and namespace in other branches
  1. 8.9 modules/custom/activity_creator/src/ActivityNotifications.php \Drupal\activity_creator\ActivityNotifications::__construct()
  2. 8.8 modules/custom/activity_creator/src/ActivityNotifications.php \Drupal\activity_creator\ActivityNotifications::__construct()
  3. 10.3.x modules/custom/activity_creator/src/ActivityNotifications.php \Drupal\activity_creator\ActivityNotifications::__construct()
  4. 10.0.x modules/custom/activity_creator/src/ActivityNotifications.php \Drupal\activity_creator\ActivityNotifications::__construct()
  5. 10.2.x modules/custom/activity_creator/src/ActivityNotifications.php \Drupal\activity_creator\ActivityNotifications::__construct()

ActivityNotifications constructor.

Parameters

\Drupal\Core\Database\Connection $connection: Database services.

File

modules/custom/activity_creator/src/ActivityNotifications.php, line 33

Class

ActivityNotifications
Class ActivityNotifications to get Personalised activity items for account.

Namespace

Drupal\activity_creator

Code

public function __construct(Connection $connection) {
  $this->database = $connection;
}