sivakarthik229/current_location
Composer 安装命令:
composer require sivakarthik229/current_location
包简介
This module allows you to add the current date and time
README 文档
README
INTRODUCTION
- Displays current date and time for the timezone selected in Timezone settings.
INSTALLATION
- Consult Drupal Module to see how to install and manage modules in Drupal 8.
Composer
If you use Composer, you can install 'Current Location' module using below command:
composer require sivakarthik229/current_location
CONFIGURATION
- If you go to
admin/config/timezone/settingsyou will see a fairly simple interface. - Add the Country, City name.
- Select Timezone.
- Click the "Save configuration" button and you are good to go.
Block Configuration
- If you go to
admin/structure/blockthen click on place the block. - Search for
Current Time Zoneand select the respective region. - Please make the machine name to
current_locationto get the fields from twig file. - Click the "Save block" button.
- Arrange the block according to the required weight.
- Click the "Save blocks" and you are good to go.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-01-06