getHasTranslation() public method

return true if structure translation is valid.
public getHasTranslation ( ) : boolean
return boolean
Ejemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function copyFrom(StructureInterface $structure)
 {
     $this->setWebspaceKey($structure->getWebspaceKey());
     $this->setLanguageCode($structure->getLanguageCode());
     $this->setUuid($structure->getUuid());
     $this->setChanged($structure->getChanged());
     $this->setChanger($structure->getChanger());
     $this->setCreated($structure->getCreated());
     $this->setCreator($structure->getCreator());
     $this->setPublished($structure->getPublished());
     $this->setPath($structure->getPath());
     $this->setNodeType($structure->getNodeType());
     $this->setHasTranslation($structure->getHasTranslation());
 }