TCA basics · Question 12 of 12

An extension wants to define the TCA of its own table and add a field to pages. Which files are intended for this?

2 answers are correct. Hard

Show answer

Answer

  • A Configuration/TCA/tx_myext_item.php for its own table, returning an array
  • B Configuration/TCA/Overrides/pages.php for the addition to pages

Explanation

Base files in Configuration/TCA/ define own tables; changes to foreign tables belong in Overrides/, which are loaded after all base files.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications