| 
					
				 | 
			
			
				@@ -10,31 +10,31 @@ use Drupal\Core\Entity\EntityTypeInterface; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 use Drupal\user\UserInterface; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- * Defines the Fil entity. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ * Defines the Composition entity. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @ingroup edlp_studio 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * @ContentEntityType( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *   id = "fil", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *   label = @Translation("Fil"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *   id = "composition", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *   label = @Translation("Composition"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *   handlers = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     "view_builder" = "Drupal\Core\Entity\EntityViewBuilder", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "list_builder" = "Drupal\edlp_studio\FilListBuilder", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "views_data" = "Drupal\edlp_studio\Entity\FilViewsData", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "list_builder" = "Drupal\edlp_studio\CompositionListBuilder", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "views_data" = "Drupal\edlp_studio\Entity\CompositionViewsData", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     "form" = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *       "default" = "Drupal\edlp_studio\Form\FilForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *       "add" = "Drupal\edlp_studio\Form\FilForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *       "edit" = "Drupal\edlp_studio\Form\FilForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *       "delete" = "Drupal\edlp_studio\Form\FilDeleteForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *       "default" = "Drupal\edlp_studio\Form\CompositionForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *       "add" = "Drupal\edlp_studio\Form\CompositionForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *       "edit" = "Drupal\edlp_studio\Form\CompositionForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *       "delete" = "Drupal\edlp_studio\Form\CompositionDeleteForm", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "access" = "Drupal\edlp_studio\FilAccessControlHandler", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "access" = "Drupal\edlp_studio\CompositionAccessControlHandler", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     "route_provider" = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *       "html" = "Drupal\edlp_studio\FilHtmlRouteProvider", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *       "html" = "Drupal\edlp_studio\CompositionHtmlRouteProvider", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *   base_table = "fil", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *   admin_permission = "administer fil entities", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *   base_table = "composition", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *   admin_permission = "administer composition entities", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *   entity_keys = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     "id" = "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     "label" = "name", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -44,16 +44,16 @@ use Drupal\user\UserInterface; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *     "status" = "status", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *   links = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "canonical" = "/admin/structure/studio/fil/{fil}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "add-form" = "/admin/structure/studio/fil/add", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "edit-form" = "/admin/structure/studio/fil/{fil}/edit", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "delete-form" = "/admin/structure/studio/fil/{fil}/delete", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *     "collection" = "/admin/structure/studio/fil", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "canonical" = "/admin/structure/studio/composition/{composition}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "add-form" = "/admin/structure/studio/composition/add", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "edit-form" = "/admin/structure/studio/composition/{composition}/edit", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "delete-form" = "/admin/structure/studio/composition/{composition}/delete", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *     "collection" = "/admin/structure/studio/composition", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  *   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- *   field_ui_base_route = "fil.settings" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ *   field_ui_base_route = "composition.settings" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-class Fil extends ContentEntityBase implements FilInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+class Composition extends ContentEntityBase implements CompositionInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   use EntityChangedTrait; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -150,7 +150,7 @@ class Fil extends ContentEntityBase implements FilInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $fields['user_id'] = BaseFieldDefinition::create('entity_reference') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setLabel(t('Authored by')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ->setDescription(t('The user ID of author of the Fil entity.')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ->setDescription(t('The user ID of author of the Composition entity.')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setRevisionable(TRUE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setSetting('target_type', 'user') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setSetting('handler', 'default') 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -175,7 +175,7 @@ class Fil extends ContentEntityBase implements FilInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $fields['name'] = BaseFieldDefinition::create('string') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setLabel(t('Name')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ->setDescription(t('The name of the Fil entity.')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ->setDescription(t('The name of the Composition entity.')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setSettings([ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         'max_length' => 50, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         'text_processing' => 0, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -196,7 +196,7 @@ class Fil extends ContentEntityBase implements FilInterface { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     $fields['status'] = BaseFieldDefinition::create('boolean') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setLabel(t('Publishing status')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ->setDescription(t('A boolean indicating whether the Fil is published.')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      ->setDescription(t('A boolean indicating whether the Composition is published.')) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setDefaultValue(TRUE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ->setDisplayOptions('form', [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         'type' => 'boolean_checkbox', 
			 |