public function ContentHubFilterForm::__construct in Acquia Content Hub 8
Public Constructor.
Parameters
\Drupal\Core\Session\AccountProxyInterface $current_user: The entity current user.
File
- acquia_contenthub_subscriber/
src/ Form/ ContentHubFilterForm.php, line 29
Class
- ContentHubFilterForm
- Prepares the form for input Content Hub Filters.
Namespace
Drupal\acquia_contenthub_subscriber\FormCode
public function __construct(AccountProxyInterface $current_user) {
$this->currentUser = $current_user;
}