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

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

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

drupal/extra_hero

最新稳定版本:1.0.0-beta2

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

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/

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.

统计信息

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

GitHub 信息

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

其他信息

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