You are here

public function InstapageCmsPluginDrupal8Connector::currentUserCanManage in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginDrupal8Connector.php \InstapageCmsPluginDrupal8Connector::currentUserCanManage()

Checks if current user can manage the plugin's dashboard.

Return value

bool Tru is current user has the permissions.

File

core/connectors/InstapageCmsPluginDrupal8Connector.php, line 71

Class

InstapageCmsPluginDrupal8Connector
Class that utilizes native Drupal 8 functions to perform actions like remote requests and DB operations.

Code

public function currentUserCanManage() {
  return true;
}