Created
January 17, 2016 19:15
-
-
Save derhansen/5a68e54c7dc056f981a8 to your computer and use it in GitHub Desktop.
Add to Configuration/TCA/Overrides
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| defined('TYPO3_MODE') or die(); | |
| $fields = array ( | |
| 'deleted' => array( | |
| 'exclude' => 1, | |
| 'label' => 'Deleted', | |
| 'config' => array( | |
| 'type' => 'check', | |
| ), | |
| ), | |
| 'disable' => array( | |
| 'exclude' => 1, | |
| 'label' => 'Disabled (hidden)', | |
| 'config' => array( | |
| 'type' => 'check', | |
| ), | |
| ) | |
| ); | |
| \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $fields); | |
| \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'deleted, disable', '', ''); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment