pages.php 501 B

123456789101112131415161718192021222324
  1. <?php
  2. defined('TYPO3_MODE') or die();
  3. // ** Add fields to the backend
  4. $columns = array (
  5. 'tx_opentalent_structure_id' => array (
  6. 'label' => 'Id de la structure',
  7. 'config' => array (
  8. 'type' => 'input',
  9. )
  10. ),
  11. );
  12. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
  13. 'pages',
  14. $columns
  15. );
  16. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
  17. 'pages',
  18. 'tx_opentalent_structure_id',
  19. '',
  20. 'after:subtitle'
  21. );