function SystemTestHooks::filetransferInfo

Implements hook_filetransfer_info().

Attributes

#[Hook('filetransfer_info')]

File

core/modules/system/tests/modules/system_test/src/Hook/SystemTestHooks.php, line 114

Class

SystemTestHooks
Hook implementations for system_test.

Namespace

Drupal\system_test\Hook

Code

public function filetransferInfo() : array {
  return [
    'system_test' => [
      'title' => $this->t('System Test FileTransfer'),
      'class' => 'Drupal\\system_test\\MockFileTransfer',
      'weight' => -10,
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.