diatem-net/nodekey 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

diatem-net/nodekey

Composer 安装命令:

composer require diatem-net/nodekey

包简介

Generates a unique key for every node.

README 文档

README

The Node Key module generate a unique key for every node.
This key can be used to load an node without relying on its id.

REQUIREMENTS

Drupal 9.x.

INSTALLATION

Install this module as usual. Please see https://www.drupal.org/docs/extending-drupal/installing-modules

CONFIGURATION

Global module settings can be found at admin/config/nodekey.

USAGE

// Get the url of a node
$url = NodeKeyEntity::url('my_node_key');

// Get a node entity
$node = NodeKeyEntity::load('my_node_key');

// Create a new key
$nodekey = NodeKeyEntity::create($node);

// theme suggestions
page--'my_node_key'
node--'my_node_key'

You can find the list of all created keys at /admin/config/nodekey/list.
This module currently does not allow edition, but feel free to edit the node_nodekey table in your database (just make sure taht there are no duplicates).

统计信息

  • 总下载量: 158
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2018-03-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固