You are here

function shurly_service_block_info in ShURLy 8

Same name and namespace in other branches
  1. 7 shurly_service/shurly_service.module \shurly_service_block_info()

Implements hook_block_info().

File

shurly_service/shurly_service.module, line 62
Link ShURLy functionalities to services module. @todo add option to rate limit requests @todo add option for user api keys

Code

function shurly_service_block_info() {
  $blocks['api_key'] = [
    'info' => t('Short URL API key'),
  ];
  return $blocks;
}