Added actor-case relation

This commit is contained in:
2021-08-26 17:55:07 +01:00
parent 8cb50d271b
commit c7d36df842
33 changed files with 2106 additions and 1 deletions

View File

@ -0,0 +1,23 @@
{#
/**
* @file
* Default theme implementation to present a list of custom content entity types/bundles.
*
* Available variables:
* - types: A collection of all the available custom entity types/bundles.
* Each type/bundle contains the following:
* - link: A link to add a content entity of this type.
* - description: A description of this content entity types/bundle.
*
* @see template_preprocess_oc_actor_case_relation_content_add_list()
*
* @ingroup themeable
*/
#}
{% spaceless %}
<dl>
{% for type in types %}
<dt>{{ type.link }}</dt>
{% endfor %}
</dl>
{% endspaceless %}

View File

@ -0,0 +1,22 @@
{#
/**
* @file oc_actor_case_relation.html.twig
* Default theme implementation to present Actor-Case Relation data.
*
* This template is used when viewing Actor-Case Relation pages.
*
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* - attributes: HTML attributes for the container element.
*
* @see template_preprocess_oc_actor_case_relation()
*
* @ingroup themeable
*/
#}
<div{{ attributes.addClass('oc_actor_case_relation') }}>
{% if content %}
{{- content -}}
{% endif %}
</div>