MCPcopy Index your code
hub / github.com/ampproject/amphtml / setMetaByName

Method setMetaByName

src/service/ampdoc-impl.js:401–403  ·  view source on GitHub ↗

* Stores the value of an ampdoc's meta tag content for a given name. To be * implemented by subclasses. * @param {string} unusedName * @param {string} unusedContent * * Avoid using this method in components. It is only meant to be used by the * runtime for AmpDoc subclasses where <

(unusedName, unusedContent)

Source from the content-addressed store, hash-verified

399 * content pairs must be stored in this.meta_.
400 */
401 setMetaByName(unusedName, unusedContent) {
402 devAssert(null, 'not implemented');
403 }
404
405 /**
406 * Returns whether the specified extension has been declared on this ampdoc.

Callers 2

mergeShadowHead_Method · 0.45
createMetaHashFunction · 0.45

Calls 1

devAssertFunction · 0.90

Tested by

no test coverage detected