class TabbableShimTestController
For testing the jQuery :tabbable shim.
Hierarchy
- class \Drupal\Core\Controller\ControllerBase extends \Drupal\Core\DependencyInjection\ContainerInjectionInterface uses \Drupal\Core\Logger\LoggerChannelTrait, \Drupal\Core\Messenger\MessengerTrait, \Drupal\Core\Routing\RedirectDestinationTrait, \Drupal\Core\StringTranslation\StringTranslationTrait
- class \Drupal\tabbable_shim_test\Controller\TabbableShimTestController implements \Drupal\Core\Controller\ControllerBase
Expanded class hierarchy of TabbableShimTestController
File
-
core/
modules/ system/ tests/ modules/ tabbable_shim_test/ src/ Controller/ TabbableShimTestController.php, line 10
Namespace
Drupal\tabbable_shim_test\ControllerView source
class TabbableShimTestController extends ControllerBase {
/**
* Provides a page with the tabbingManager library for testing :tabbable.
*
* @return array
* The render array.
*/
public function build() {
return [
'container' => [
'#type' => 'container',
'#attributes' => [
'id' => 'tabbable-test-container',
],
],
'#attached' => [
'library' => [
'core/jquery.ui',
],
],
];
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.