MatomoInterface.php 513 B

123456789101112131415
  1. <?php
  2. namespace Drupal\matomo;
  3. /**
  4. * Provides an interface.
  5. */
  6. interface MatomoInterface {
  7. /**
  8. * Define the default file extension list that should be tracked as download.
  9. */
  10. const MATOMO_TRACKFILES_EXTENSIONS = '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip';
  11. }