ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilObjectCustomIconConfiguration.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once 'Services/Object/Icon/interfaces/interface.ilCustomIconObjectConfiguration.php';
5 
10 {
14  public function getSupportedFileExtensions() : array
15  {
16  return ['svg'];
17  }
18 
22  public function getTargetFileExtension() : string
23  {
24  return 'svg';
25  }
26 
30  public function getBaseDirectory() : string
31  {
32  return 'custom_icons';
33  }
34 
38  public function getSubDirectoryPrefix() : string
39  {
40  return 'obj_';
41  }
42 
46  public function getUploadPostProcessors() : array
47  {
48  return [];
49  }
50 }
getUploadPostProcessors()
A collection of post processors which are invoked if a new icon has been uploaded.ilObjectCustomIconUploadPostProcessor[]