File size: 316 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 |
import 'calypso/state/document-head/init';
/**
* Returns the document title as set by the DocumentHead component or setTitle
* action.
* @param {Object} state Global state tree
* @returns {?string} Document title
*/
export function getDocumentHeadTitle( state ) {
return state.documentHead.title;
}
|