drupal/extra_hero 问题修复 & 功能扩展

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

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

drupal/extra_hero

Composer 安装命令:

composer require drupal/extra_hero

包简介

Adds Extra Hero block.

README 文档

README

Adds the Extra Hero block type plus sample content for Drupal recipes.

Requirements

Installation

Download the recipe with Composer:

composer require drupal/extra_hero

Apply this recipe through the Recipes UI or with Drush. If you use the UI, you can also enable it via the Extra Project Browser, which groups the extra_* recipes: https://www.drupal.org/project/extra_project_browser

Try Extra Hero instantly in your browser

Want to see Extra Hero in action without installing anything locally? This repository includes a ready-to-run GitHub Codespaces + DDEV environment with Drupal CMS, Basecore, and the Extra Hero recipe. Open the repo in Codespaces, run make, and you can explore the block, edit its fields, and preview the front-end result in minutes.

What this recipe provides

  • Block type: Extra Hero
  • Fields and form/display configuration for the block type
  • Sample content in content/

Where to find the demo

In Layout Builder, go to Add block → Content block and look for:

  • Extra Hero - Signature Hero

Extra Hero block

Extra Hero is a flexible landing-page hero block that pairs bold headline text with a supporting image and a call-to-action area. It is designed for marketing-style pages where you want a strong first impression with a primary message, supporting copy, and one or more links.

Key parts of the block:

  • Title: multiple title lines for a rotating headline effect.
  • Description: rich text summary beneath the title.
  • Note: short supporting text (for example, pricing or a brief disclaimer).
  • Media: a single image with alt and title text.
  • Alignment: horizontal (left/right) and vertical (top/center/bottom) alignment controls.
  • Layout: column width options to control text vs. image emphasis.
  • Actions: one or more links (URL + link text) for calls to action.

The sample content in content/ includes a hero image and a demo Extra Hero block to help you preview and test the layout quickly.

Configuration

All configuration is included in the recipe under config/ and is installed when the recipe is applied.

Maintainers

  • TODO: Add maintainers and contact information.

License

GPL-2.0-or-later. See LICENSE.txt.

drupal/extra_hero 适用场景与选型建议

drupal/extra_hero 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 79 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 21 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 drupal/extra_hero 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 drupal/extra_hero 我们能提供哪些服务?
定制开发 / 二次开发

基于 drupal/extra_hero 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-05-21