TYPO3 CMS  TYPO3_6-2
IconUtilityHook.php
Go to the documentation of this file.
1 <?php
2 namespace TYPO3\CMS\Version\Hook;
3 
18 
23 
32  public function overrideIconOverlay($table, array $row, array &$status) {
33  if (
34  isset($row['t3ver_state'])
35  && VersionState::cast($row['t3ver_state'])->equals(
37  )
38  ) {
39  $status['deleted'] = TRUE;
40  }
41  }
42 
43 }
overrideIconOverlay($table, array $row, array &$status)