Documentation or Example

Created on 27 January 2023, about 2 years ago

Problem/Motivation

Hello, is there any guide how to add new content in modal ?

I am not really sure how to make this work:

To add an action for a 'modal' entity form, add the following to your module.action.yml file:

```
your_module.your_link:
route_name: modal_entity_form.add
route_parameters:
entity_type: foo
bundle: bar
form_mode: baz
appears_on:
- some.router.link
title: 'Add entity'
class: 'Drupal\modal_entity_form\Menu\LocalActionWithModal'

Can anyone provide more details , step by step for "article" for example ?

πŸ“Œ Task
Status

Active

Version

1.0

Component

Documentation

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024