postProcessDatabaseOperation() public method

Post-process database operation for the table that this ConfigurationProvider is attached to.
public postProcessDatabaseOperation ( string $status, integer $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $reference ) : void
$status string TYPO3 operation identifier, i.e. "new" etc.
$id integer The ID of the current record (which is sometimes now included in $row
$row array The record's data, by reference. Changing fields' values changes the record's values just before saving after operation
$reference TYPO3\CMS\Core\DataHandling\DataHandler A reference to the \TYPO3\CMS\Core\DataHandling\DataHandler object that is currently performing the database operation
return void
 /**
  * @param string $status
  * @param integer $id
  * @param array $row
  * @param DataHandler $reference
  * @return void
  */
 public function postProcessDatabaseOperation($status, $id, &$row, DataHandler $reference)
 {
     parent::postProcessDatabaseOperation($status, $id, $row, $reference);
     if ($status === 'new') {
         $this->contentService->initializeRecord($row, $reference);
     }
 }
 /**
  * @param string $status
  * @param integer $id
  * @param array $row
  * @param DataHandler $reference
  * @return void
  */
 public function postProcessDatabaseOperation($status, $id, &$row, DataHandler $reference)
 {
     if (TRUE === self::shouldCallWithClassName(__CLASS__, __FUNCTION__, $id)) {
         parent::postProcessDatabaseOperation($status, $id, $row, $reference);
         if ($status === 'new') {
             $this->contentService->initializeRecord($id, $row, $reference);
         }
         self::trackMethodCallWithClassName(__CLASS__, __FUNCTION__, $id);
     }
 }