You are here

private function CmisRepositoryController::connectionError in CMIS API 8.2

Same name and namespace in other branches
  1. 8 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: Entity label.

Return value

array Return markup.

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

File

src/Controller/CmisRepositoryController.php, line 322

Class

CmisRepositoryController
Class CmisRepositoryController.

Namespace

Drupal\cmis\Controller

Code

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