欢迎光临
我们一直在努力

Drupal8 自带主题stable模板twig文件分析

在Drupal8主题模板开发过程中,难免需要覆写模板,如果不懂得命名规则,可能会使模板文件放置的杂乱无章。

下面列出了Drupal8自带主题stable模板twig文件(按目录结构列出)共admin、block、content、content-edit、dataset、field、form、layout、misc、navigation、user、views等12个目录,我们在写模板时可以参照目录结构进行分类,文件名方便覆写使用。因为admin是管理模板,不建议覆写。

admin
    admin-block-content.html.twig
    admin-block.html.twig
    admin-page.html.twig
    authorize-report.html.twig
    block-content-add-list.html.twig
    ckeditor-settings-toolbar.html.twig
    color-scheme-form.html.twig
    config_translation_manage_form_element.html.twig
    field-ui-table.html.twig
    help-section.html.twig
    image-anchor.html.twig
    image-crop-summary.html.twig
    image-resize-summary.html.twig
    image-rotate-summary.html.twig
    image-scale-summary.html.twig
    image-style-preview.html.twig
    indentation.html.twig
    language-content-settings-table.html.twig
    language-negotiation-configure-form.html.twig
    locale-translation-last-check.html.twig
    locale-translation-update-info.html.twig
    maintenance-task-list.html.twig
    simpletest-result-summary.html.twig
    status-report-counter.html.twig
    status-report-general-info.html.twig
    status-report-grouped.html.twig
    status-report-page.html.twig
    status-report.html.twig
    system-admin-index.html.twig
    system-config-form.html.twig
    system-modules-details.html.twig
    system-modules-uninstall.html.twig
    system-themes-page.html.twig
    tablesort-indicator.html.twig
    update-last-check.html.twig
    update-project-status.html.twig
    update-report.html.twig
    update-version.html.twig
    views-ui-build-group-filter-form.html.twig
    views-ui-container.html.twig
    views-ui-display-tab-bucket.html.twig
    views-ui-display-tab-setting.html.twig
    views-ui-expose-filter-form.html.twig
    views-ui-rearrange-filter-form.html.twig
    views-ui-style-plugin-table.html.twig
    views-ui-view-displays-list.html.twig
    views-ui-view-info.html.twig
    views-ui-view-preview-section.html.twig
    views-ui-views-listing-table.html.twig
block
    block--local-actions-block.html.twig
    block--system-branding-block.html.twig
    block--system-menu-block.html.twig
    block--system-messages-block.html.twig
    block.html.twig
content
    aggregator-item.html.twig
    book-node-export-html.html.twig
    comment.html.twig
    mark.html.twig
    node.html.twig
    page-title.html.twig
    search-result.html.twig
    taxonomy-term.html.twig
content-edit
    entity-add-list.html.twig
    file-managed-file.html.twig
    file-upload-help.html.twig
    file-widget-multiple.html.twig
    filter-caption.html.twig
    filter-guidelines.html.twig
    filter-tips.html.twig
    image-widget.html.twig
    node-add-list.html.twig
    node-edit-form.html.twig
    text-format-wrapper.html.twig
dataset
    aggregator-feed.html.twig
    forum-icon.html.twig
    forum-list.html.twig
    forums.html.twig
    item-list.html.twig
    table.html.twig
field
    field--comment.html.twig
    field--node--created.html.twig
    field--node--title.html.twig
    field--node--uid.html.twig
    field.html.twig
    file-link.html.twig
    image-formatter.html.twig
    image-style.html.twig
    image.html.twig
    link-formatter-link-separate.html.twig
    responsive-image-formatter.html.twig
    responsive-image.html.twig
    time.html.twig
form
    checkboxes.html.twig
    confirm-form.html.twig
    container.html.twig
    datetime-form.html.twig
    datetime-wrapper.html.twig
    details.html.twig
    dropbutton-wrapper.html.twig
    field-multiple-value-form.html.twig
    fieldset.html.twig
    form-element-label.html.twig
    form-element.html.twig
    form.html.twig
    input.html.twig
    radios.html.twig
    select.html.twig
    textarea.html.twig
layout
    book-export-html.html.twig
    html.html.twig
    install-page.html.twig
    maintenance-page.html.twig
    page.html.twig
    region.html.twig
misc
    feed-icon.html.twig
    progress-bar.html.twig
    rdf-metadata.html.twig
    rdf-wrapper.html.twig
    status-messages.html.twig
navigation
    book-all-books-block.html.twig
    book-navigation.html.twig
    book-tree.html.twig
    breadcrumb.html.twig
    links.html.twig
    menu--toolbar.html.twig
    menu-local-action.html.twig
    menu-local-task.html.twig
    menu-local-tasks.html.twig
    menu.html.twig
    pager.html.twig
    toolbar.html.twig
    vertical-tabs.html.twig
user
    forum-submitted.html.twig
    user.html.twig
    username.html.twig
views
    views-exposed-form.html.twig
    views-mini-pager.html.twig
    views-view-field.html.twig
    views-view-fields.html.twig
    views-view-grid.html.twig
    views-view-grouping.html.twig
    views-view-list.html.twig
    views-view-mapping-test.html.twig
    views-view-opml.html.twig
    views-view-row-opml.html.twig
    views-view-row-rss.html.twig
    views-view-rss.html.twig
    views-view-summary-unformatted.html.twig
    views-view-summary.html.twig
    views-view-table.html.twig
    views-view-unformatted.html.twig
    views-view.html.twig
block
    block--local-actions-block.html.twig
    block--system-branding-block.html.twig
    block--system-menu-block.html.twig
    block--system-messages-block.html.twig
    block.html.twig
content
    aggregator-item.html.twig
    book-node-export-html.html.twig
    comment.html.twig
    mark.html.twig
    node.html.twig
    page-title.html.twig
    search-result.html.twig
    taxonomy-term.html.twig
content-edit
    entity-add-list.html.twig
    file-managed-file.html.twig
    file-upload-help.html.twig
    file-widget-multiple.html.twig
    filter-caption.html.twig
    filter-guidelines.html.twig
    filter-tips.html.twig
    image-widget.html.twig
    node-add-list.html.twig
    node-edit-form.html.twig
    text-format-wrapper.html.twig
dataset
    aggregator-feed.html.twig
    forum-icon.html.twig
    forum-list.html.twig
    forums.html.twig
    item-list.html.twig
    table.html.twig
field
    field--comment.html.twig
    field--node--created.html.twig
    field--node--title.html.twig
    field--node--uid.html.twig
    field.html.twig
    file-link.html.twig
    image-formatter.html.twig
    image-style.html.twig
    image.html.twig
    link-formatter-link-separate.html.twig
    responsive-image-formatter.html.twig
    responsive-image.html.twig
    time.html.twig
form
    checkboxes.html.twig
    confirm-form.html.twig
    container.html.twig
    datetime-form.html.twig
    datetime-wrapper.html.twig
    details.html.twig
    dropbutton-wrapper.html.twig
    field-multiple-value-form.html.twig
    fieldset.html.twig
    form-element-label.html.twig
    form-element.html.twig
    form.html.twig
    input.html.twig
    radios.html.twig
    select.html.twig
    textarea.html.twig
layout
    book-export-html.html.twig
    html.html.twig
    install-page.html.twig
    maintenance-page.html.twig
    page.html.twig
    region.html.twig
misc
    feed-icon.html.twig
    progress-bar.html.twig
    rdf-metadata.html.twig
    rdf-wrapper.html.twig
    status-messages.html.twig
navigation
    book-all-books-block.html.twig
    book-navigation.html.twig
    book-tree.html.twig
    breadcrumb.html.twig
    links.html.twig
    menu--toolbar.html.twig
    menu-local-action.html.twig
    menu-local-task.html.twig
    menu-local-tasks.html.twig
    menu.html.twig
    pager.html.twig
    toolbar.html.twig
    vertical-tabs.html.twig
user
    forum-submitted.html.twig
    user.html.twig
    username.html.twig
views
    views-exposed-form.html.twig
    views-mini-pager.html.twig
    views-view-field.html.twig
    views-view-fields.html.twig
    views-view-grid.html.twig
    views-view-grouping.html.twig
    views-view-list.html.twig
    views-view-mapping-test.html.twig
    views-view-opml.html.twig
    views-view-row-opml.html.twig
    views-view-row-rss.html.twig
    views-view-rss.html.twig
    views-view-summary-unformatted.html.twig
    views-view-summary.html.twig
    views-view-table.html.twig
    views-view-unformatted.html.twig
    views-view.html.twig

赞(0)
版权归原作者所有,如有侵权请告知。达维营-前端网 » Drupal8 自带主题stable模板twig文件分析

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址