tested shared Vuex store, created d8 userblock, enabled JSONAPI module
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains user_block.module.
|
||||
*/
|
||||
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
// function user_block_help($route_name, RouteMatchInterface $route_match) {
|
||||
// switch ($route_name) {
|
||||
// // Main module help for the user_block module.
|
||||
// case 'help.page.user_block':
|
||||
// $output = '';
|
||||
// $output .= '<h3>' . t('About') . '</h3>';
|
||||
// $output .= '<p>' . t('Provide a block with user name/email and logout link') . '</p>';
|
||||
// return $output;
|
||||
//
|
||||
// default:
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user