You are here

private function CmisRepositoryController::connectionError in CMIS API 8

Same name and namespace in other branches
  1. 8.2 src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::connectionError()
  2. 3.0.x src/Controller/CmisRepositoryController.php \Drupal\cmis\Controller\CmisRepositoryController::connectionError()

Prepare connection error.

Parameters

string $config:

Return value

array

1 call to CmisRepositoryController::connectionError()
CmisRepositoryController::initBrowser in src/Controller/CmisRepositoryController.php
Init browser.

File

src/Controller/CmisRepositoryController.php, line 254

Class

CmisRepositoryController
Class CmisRepositoryController.

Namespace

Drupal\cmis\Controller

Code

private function connectionError($config) {
  return array(
    '#markup' => $this
      ->t('No connection ready of config: @config. Please go to CMIS configure page and create properly configure.', [
      '@config' => $config,
    ]),
  );
}