Skip to content

Commit

Permalink
Merge branch '0.8' into 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Sep 29, 2017
2 parents 10d767d + 7eecce9 commit 46e466c
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions cookbook/custom_backend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,18 @@ used to render the item preview and a list of columns:
.. code-block:: yaml
netgen_content_browser:
my_item_type:
name: item_types.my_item_type # Will be translated with "ngcb" catalog
preview:
template: '@App/ngcb/my_item_type.html.twig'
columns:
# At least a "name" column must exist
name:
name: columns.name # Will be translated with "ngcb" catalog
value_provider: name # Using a built in "name" value provider
default_columns:
- name
item_types:
my_item_type:
name: item_types.my_item_type # Will be translated with "ngcb" catalog
preview:
template: '@App/ngcb/my_item_type.html.twig'
columns:
# At least a "name" column must exist
name:
name: columns.name # Will be translated with "ngcb" catalog
value_provider: name # Using a built in "name" value provider
default_columns:
- name
For the list of all available configuration options, take a look at the
:doc:`configuration reference </reference/configuration>`.
Expand Down

0 comments on commit 46e466c

Please sign in to comment.