Skip to content

[feature] content system — CMS admin + API integration#3

Merged
wtorsi merged 1 commit intomainfrom
feature/content-entries
Feb 27, 2026
Merged

[feature] content system — CMS admin + API integration#3
wtorsi merged 1 commit intomainfrom
feature/content-entries

Conversation

@baldrys-ed
Copy link
Contributor

  • ContentType + ContentEntry entities with soft-delete, timestamps, sort
  • ContentTypeRepository + ContentEntryRepository (name-based lookups)
  • ContentTypeController (index/create/update) with schema builder
  • SupportsContentEntriesOperation trait — opt-in entries CRUD for any CrudController
  • DynamicEntryType — PRE_SET_DATA-driven form for arbitrary schema (text/textarea/wysiwyg/image/file/collection)
  • SchemaFieldType / SchemaItemFieldType — schema builder UI
  • CollectionEntrySortTypeTrait — sort order field for nested collections
  • ContentEntryUploadSubscriber — file URI→path on load; sort collections on persist
  • ContentEntriesViewSubscriber — populates HasContentEntriesInterface views
  • HasContentEntriesInterface + HasContentEntriesTrait — API view integration
  • ContentEntryView — normalises entry data (casts sortOrder to int)
  • ContentExtension / ContentRuntime — Twig helpers: content(), entriesFor()
  • Twig templates: content/type/, content/entries/, content/blocks/_generic
  • entries option in CrudControllerConfigurator + list.html.twig entries button
  • Instantiator: full inheritance chain traversal
  • collection/index.js: _prototypeKey isolation; schemaField/index.js toggle
  • horizontal.html.twig: compound+label=false fix; layout.html.twig: data-prototype-key
  • services.php: ContentTypeController registration + Entity/Api/View excludes
  • Translations: content+intl-icu.en.yaml; cms+intl-icu.en.yaml common.content_entries
  • CONTENT_SYSTEM.md: usage guide (entities, repos, CMS integration, Twig, API)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@baldrys-ed baldrys-ed force-pushed the feature/content-entries branch from 4c3042e to 4c4db09 Compare February 25, 2026 16:47
@wtorsi wtorsi merged commit 2c7d3ea into main Feb 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants