FluidTYPO3\Fluidpages\Provider\PageProvider::getControllerActionReferenceFromRecord PHP Method

getControllerActionReferenceFromRecord() public method

    public function getControllerActionReferenceFromRecord(array $row)
    {
        if (true === empty($row[self::FIELD_ACTION_MAIN])) {
            $row = $this->pageService->getPageTemplateConfiguration($row['uid']);
        }
        return $row[self::FIELD_ACTION_MAIN];
    }

Usage Example

 /**
  * @param array $row
  * @return string
  */
 public function getControllerActionReferenceFromRecord(array $row)
 {
     $pageRow = $this->recordService->getSingle('pages', '*', $row['pid']);
     return parent::getControllerActionReferenceFromRecord($pageRow);
 }