29 lines
		
	
	
		
			872 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			872 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
/*
 | 
						|
 * This file is part of the package buepro/bookmark_pages.
 | 
						|
 *
 | 
						|
 * For the full copyright and license information, please read the
 | 
						|
 * LICENSE file that was distributed with this source code.
 | 
						|
 */
 | 
						|
 | 
						|
defined('TYPO3') || die('Access denied.');
 | 
						|
 | 
						|
(function () {
 | 
						|
 | 
						|
    \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
 | 
						|
        'BookmarksLikesRatings',
 | 
						|
        'Bookmarks',
 | 
						|
        'Bookmark Pages'
 | 
						|
    );
 | 
						|
 | 
						|
 | 
						|
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['bookmarkpages_bookmarks'] = 'pi_flexform';
 | 
						|
    \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
 | 
						|
        'bookmarkpages_bookmarks',
 | 
						|
        'FILE:EXT:bookmarks_likes_ratings/Configuration/FlexForms/Bookmarks.xml'
 | 
						|
    );
 | 
						|
 | 
						|
    $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['bookmarkpages_bookmarks'] = 'recursive,select_key,pages';
 | 
						|
})();
 |